Hi,
What do you think about changing the match brace function a bit, making it work the same as in SciTE? That is:
1. When the cursor is before/on an opening brace, MB should move it after the closing brace, and when it's before/on a closing brace, MB should move it after the opening brace. This way, the cursor will be moved symetrically inside/outside the braced area. Currently, invoking MB twice, when the cursor is after an opening/closing brace, does not return it to the original position.
2. With an expression like ((int) (5)), when the cursor is between the two closing braces, the opening brace for 5 is highlighted, but MB matches the opening brace for the entire expression. Either the brace before 5 should be matched (as in SciTE, implemented in the patch), or the outer braces should be highlighted.
Despite the long description, the change is quite small.
-- E-gards: Jimmy