Committed changes that allow lexers to produce 8 bit lexical states
and for LexHTML to ask for 8 bits. This change is not backwards
compatible: client code that assumes that there will be 1 bit
available in style bytes for drawing indicators over text will fail. A
future change will disable all use of style bytes for indicators. The
styles are now kept in a variable length array which starts at 64
entries and may double to 128 or 256 as needed. Previously there were
always 128 entries but doubling this would use an extra 12K even if
not needed by the current lexer.

  Before adding additional styles to LexHTML, there should be a plan
with how to split up the range 128-255 to allow cooperation between
different languages. Since a common need is to add a particular
server-side scripting language a scheme such as specifying 32 or 64
entries (128-159 or 128-191) for that may be workable. Then there can
be separate modes for using Java or Ruby or C# in that range.

 Changes available from CVS and from
http://scintilla.sourceforge.net/scite.zip Source
http://scintilla.sourceforge.net/wscite.zip Windows executable

  Neil
_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest

Reply via email to