Chris Colman:
It works fine most of the time but occasionally it gets it wrong and says that there is a mismatch when there isn't. It has something to do with the current position of the cursor because you can move the cursor to a different position and then the matching brace algorithm succeeds and allows the user to commit the changes to the method - without making any changes to the code - just a cursor position change.
If you've got a repeatable problem then use a C++ debugger to step through the code. Its most likely a styling issue. If you can't see the problem then Document::BraceMatch is only 25 lines of code so just haul it out into your application and make it work how you want. Neil _______________________________________________ Scintilla-interest mailing list [email protected] http://mailman.lyra.org/mailman/listinfo/scintilla-interest
