Kein-Hong Man wrote:
It would be nice if there is a simple mechanism for extending existing
lexers. Say, colour all wx* identifiers in a certain way, or add new
keyword sets without needing to recompile. For long pieces of code with
lots of long identifiers (GTK+ code for example), I for one would
appreciate the improved readability.
I just don't see that happening... basically, the lexers themselves
need to provide for the possibility of "user-defined colored
identifiers". Having just looked at this, I know the Python one does
(one additional class) - and of course, my OCaml one does also (two
additional "keyword" classes). ;)
While the code needed to support this in lexers could be all quite
*similar*, it would not be the same:
* - different lexers use quite different painting models
* - how do we ensure that user-defined coloring does not interfere
with the lexer's own coloring?
Robert Roessler
[EMAIL PROTECTED]
http://www.rftp.com
_______________________________________________
Scite-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scite-interest