Florian Balmer:

Given the construct below (working in HTML mode, but I've been able to
produce similar cases with other lexers):

<?php
if($expr == true)
# }
}
?>

Inserting an opening curly brace after the if() statement will
highlight the newly inserted brace along with the (incorrect)
counterpart after the #. When moving the caret and hitting the same
brace again, the highlighting is performed properly, the error occurs
only with newly added braces.

  The exact same situation does work correctly in SciTE?

  Check that the SCN_UPDATEUI is from the same Scintilla instance as
is being brace matched. Also look into any explicit changing of styles
and the endStyled position. Use a debugger to work out what is
occurring.

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

Reply via email to