Chris Colman:
Before closing the form holding the method's source we perform a "matching braces check" to make sure that all opened curly braces are closed properly. We use the matching brace methods in scintilla to do this but occasionally it incorrectly says that the braces are unmatched when in fact they are matched - which prevents the user committing the changes to the method.
Brackets within strings and comments may have no match so should not be checked, only brackets in the operator style. To be able to differentiate styles, all the text has to be styled by calling SCI_COLOURISE.
Neil _______________________________________________ Scintilla-interest mailing list [email protected] http://mailman.lyra.org/mailman/listinfo/scintilla-interest
