Armel Asselin:
My idea is that lexing states could be stored (approximately) each N bytes/characters and lexing could be only pure-dynamic.
It may be an interesting idea to explore. Cutting every N characters leads to more states since, for example, N may split the '/' and '*' in a C comment start. The current approach which only lexes whole lines allows lexers handle these short sequences easily. The lexer could report the last simple resynchronization point before N thus shortening the segment. Neil _______________________________________________ Scintilla-interest mailing list [email protected] http://mailman.lyra.org/mailman/listinfo/scintilla-interest
