im working in a small editor for me, so i need some advices :)
does anyone knows any other method to do a syntax highlight ?
another thing is a line hightlight, im having some probs there....

help ? thx :-D
Posted on 2005-01-21 12:43:37 by GR33d
Hello GR33d,

Why not use a word list like visual studio's usertype.dat for user defined keywords. Your program could check your word list file. If word in list and in editor then display in color. You could create various word lists for different color of text or background depending on weather words are keywords, operators etc.

Don't know if this be a realistic way of doing it or if it be too slow.

best regards,

Posted on 2005-01-22 13:29:30 by czDrillard
yeah, thats my idea
but , i wanna see some example of a algo wich makes the syntax highlight happen :)
or some example from where to start making such algo
do you, or anyone, have one ?
iczellion haves one in his tutorials, it works great, but i wanna know if is there another algo easier or more efficient to do the job...
Posted on 2005-01-22 15:20:45 by GR33d