[Geany-devel] Small match brace change proposition

Enrico Tröger enrico.troeger at xxxxx
Sat May 8 13:33:03 UTC 2010


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:
> 
> 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.

Thanks, committed.

Regards,
Enrico

P.S.: please don't hijack other threads.

-- 
Get my GPG key from http://www.uvena.de/pub.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.geany.org/pipermail/devel/attachments/20100508/e5e87d61/attachment.pgp>


More information about the Devel mailing list