[wingide-users] Brace matching

Wingware Support support at wingware.com
Thu Nov 13 10:35:57 MST 2008


Torsten Marek wrote:
> no, I mean the auto-brace highlight in the editor.
> 
> Example:
>     1   2   3    3   21
> test(foo(bar(1, 2), 2))
> 
> When I put the cursor *on* the closing 3, it'll highlight the opening
> and closing 3. When I put it after it, as well. However, when I put it
> *on* the closing 1, after the closing 2, it will highlight the opening
> 1.
> 
> I would like the editor always only highlight the brace immediately
> before the cursor, so that brace pair 2 is highlighted if the cursor is
> exactly on the closing 1.

Seems reasonable so I made the change in our sources for 3.1.6+.  It was
preferring the brace after but that choice may have been arbitrary.

-- 

Stephan Deibel
Wingware | Python IDE
Advancing Software Development

www.wingware.com



More information about the wingide-users mailing list