We're using Scintilla for method editor in our Java and C++ modelling tools (Javelin and Visual Classworks). We are very happy with it but there is one intermittent problem:
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. When this happens it is necessary to move the cursor around to another place or sometimes make some changes to the code then undo the changes - then the brace matching methods seem to return the correct matching status. Has anyone else experienced a problem like this or knows what might be causing it? It seems like a classic, 'out by one' bug or 'boundary condition' bug. Regards, Chris Colman Step Ahead Software _______________________________________________ Scintilla-interest mailing list [email protected] http://mailman.lyra.org/mailman/listinfo/scintilla-interest
