The problem is that for HTML, the style checking is turned off
(braces.<lexer>.style=0) since each of the sublanguages has their own
brace styles but the code that checks after the caret didn't handle
this case.

On a related note, SciTEBase::FindMatchingBracePosition() twice pulls
out style bytes and hard-masks them with 31... is this [in general] at
all correct with newer Scintilla versions - which allow the the up to
128 styles lexers?

  Yes, this is also a bug so there is now a mask defined for checking:
int maskStyle = (1 << SendEditor(SCI_GETSTYLEBITSNEEDED)) - 1;

  Changes committed to CVS.

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

Reply via email to