PDA

View Full Version : simple notepad+syntax coloring



mattover-matter
03-14-2003, 02:38 AM
Is there anyway I can create my own very simple notepad, but with coloring? like i beleive in these forums


document.write("text")
function clickit(text){
document.write(""text"")
}
<a href="" onclick="clickit('more text')">see text</A>
var varname = " i am a string "

Like that

Roy Sinclair
03-14-2003, 07:40 PM
If you're wanting an editor that does that (for a lot of different file types) look at UltraEdit (http://www.ultraedit.com/) (my favorite).

codefox
03-16-2003, 11:36 AM
If you are adventurous you could try writing your own syntax parser, or use an existing library like http://ostermiller.org/syntax/. well, the mentioned library is for java