On Thu, 6 May 2010 17:42:24 +0300, Dimitar wrote:
Hi,
What do you think about changing the match brace function a bit, making it work the same as in SciTE? That is:
- 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.
- 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.
Thanks, committed.
Regards, Enrico
P.S.: please don't hijack other threads.