Robert Roessler:
Well, this is not what I see... OTOH, when examining the display of
"brace matching" in a COMMENT or a STRING in a CSS file (which of course
uses the notoriously tricky HTML lexer), it does work - but exposes a
minor rendering flaw.
The caret is positioned improperly, overlaying the curly braces (left or
right) in my testing... possibly because the brace hilite style is
bolded, but the caret position has already been computed based on the
unbolded glyph.
Having a bracematch styled letter doesn't modify the line layout so
bracematch styles should only change colour.
As for the other lexers I tried with SciTE (all from the current CVS
tree), there was NO attempt to match braces inside of comments or
strings - this is expected (by me, anyway) and mentioned by Philippe -
the braces matching style causes the check not to be done in these
other styles.
That is SciTE's behaviour which checks the style before trying to
match. The original question is about Scintilla.
Neil
_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest