Frank Wunderlich wrote:
I've tested a little bit...
AFAIS it's a problem with the HTML-Lexer and its multiple language support

{

}
works while
<?php {

}
?>
(same inside php-tags) fails (also inside other tags for style-change such as 
<script></script>).
tags like <table> (which don't change the style) working.

Thanks for the tips, Frank... I have been looking at the source (SciTEBase.cxx and LexHTML.cxx) and am somewhat mystified. :(

Primarily, my main confusion comes from how the whole brace-matching system works in the face of lexers which use more than 32 styles.

Isn't there a "battle" between the brace-coloring logic and the lexer?

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?

Finally, we may be looking at one or two problems here - as Philippe mentions, before-or-after ("sloppy") brace detection does not work in source which exhibits the freeze-after-one issue.

Robert Roessler
[EMAIL PROTECTED]
http://www.rftp.com
_______________________________________________
Scite-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scite-interest

Reply via email to