Page 1 of 1

Brackets Highlighting

Posted: Sat Jun 09, 2001 11:48 am
by YoGi
Hello !

Is it possible to highlight the associate matching bracket when the cursor is over a bracket ? (u know, like in nEdit..)

If not, this would be an excellent feature to add... Hope it's possible !

Thx for all

Re: Brackets Highlighting

Posted: Sat Jun 09, 2001 2:44 pm
by Andreas
Don't remember whether it is standard or whether I configured it so, but when I position on a bracket - any of ([{<>}]) and press ctrl-m, the curser jumps to the matching bracket, shift-ctrl-m selects the bracket and its content.

Re: Brackets Highlighting

Posted: Sun Jun 10, 2001 1:28 pm
by YoGi
yep i know that, but u have to press ctrl-m to get the matching bracket. But it could be very useful to hightlight directly the matching bracket, don't u think ? (like in emacs or nedit). So my question is to know if it's possible :))

Re: Brackets Highlighting

Posted: Sun Jun 10, 2001 8:57 pm
by Andreas
You could create macros which do
insert a ), then do ctrl-m ctrl-m
and assign this macro to the ) key
then similar macros for >, } and ]

I did not test this - don't know whether it works ...

Re: Brackets Highlighting

Posted: Mon Jun 11, 2001 3:28 pm
by Randall McDougall
That wouldn't just hilite, it would jump you to the bracket and overtype it if you were typing rapidly ... I very much doubt that's what you want. For syntax hiliting style bracket matching you real need to have builtin support.