B4J Question Code editor in textarea, how to do.

Franck Danard

Member
Licensed User
Longtime User
Hi every body.

I would like to know if i use a textarea, i could use it as code editor.
For example:
I would like to be able to read and add a code from the current cursor position and keeping the code formated as well.
HTML:
<div class="container">
           (insert a new code here)
           (return here avec new line).
</div>
My new code could include some [tab] = chr(7) or \t and i would not like to start from the margin
do you think it's possible or is there a best way to do it?

Thanks in advance for your help ;)

Franck.
 
Top