blm126, I thought about a textarea version. Ill look at it when the main code gets more mature. Thanx.
// TODO: textarea without syntax highlighting for non supported browsers
Type: Posts; User: fermads; Keyword(s):
blm126, I thought about a textarea version. Ill look at it when the main code gets more mature. Thanx.
// TODO: textarea without syntax highlighting for non supported browsers
Twey
yes, thanx :)
Your idea lead me to other that seems to works.
The \0 do not work in IE cuz it must be a visible character cuz IE actually search this character (like when you do a Edit >...
ThanX DimX :)
Twey, your right.
this character is part of the "system" that puts the cursor/caret back to its position after replacing/coloring the text.
But here its fast enough that i can't see it cuz its...
mm... this script is really new.. and i dont find anything like this around..
I tested only in Firefox 1.5.0.6 and IE6
1) CODE TITLE: Real Time Syntax Highlighting JavaScript
2) AUTHOR NAME/NOTES: Fernando M.A.d.S.
3) DESCRIPTION: This is a code editor with syntax highlighting engine written in JavaScript that...