Hello,

the Colourize function uses DocumentAccessor. the constructor of
DocumentAccessor puts 127 in the 'mask' member. Then some lines further
(Scintillabase.cxx:472 in 1.68), the styleStart is read... with this mask,
however some parsers seems to take this initial value without further
attention, it makes the presence of indicators a problem because styleStart
can easily be 0x20 or 0x40 for a lexer with a mask of 0x1f... and the lexer
goes mad (generally by having just some lines with strange colors)

could we add a line such as (in 474), it fixes the problem:
styleStart &= pdoc->stylingBitsMask;    // get rid of potential indicators

Regards
Armel Asselin
----------------------------------------------------
http://www.elliecomputing.com
ECMerge - comparison and merge tool
_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest

Reply via email to