Feature Request: Brace Indication

Post any comments, suggestions, annoyances or ideas for future releases here. Please do not post bug reports or questions here.
Post Reply
egrath
Posts: 14
Joined: Thu Sep 02, 2004 4:48 am
Location: In the Alps of Austria

Feature Request: Brace Indication

Post by egrath »

Hi there,

first of all, thank you for this great Editor you've written!

There are almost all features implemented a User could need. But one little thing is missing:

* Brace Indication

Many other Editor's have this feature which shows you matching braces if the cursor is above a '(',')','{' or '}' - which is imho a very usefuly feature if you ever used it.

Are there any plans for incorporating this into a future version? (Or maybe is there already such a functionality and i didn't found the place where to enable? :)

Bye, Egon
jussij
Site Admin
Posts: 2650
Joined: Fri Aug 13, 2004 5:10 pm

Post by jussij »

Hi Egon,
first of all, thank you for this great Editor you've written!
Thank you :)
There are almost all features implemented a User could need. But one little thing is missing:

* Brace Indication

Many other Editor's have this feature which shows you matching braces if the cursor is above a '(',')','{' or '}' - which is imho a very usefuly feature if you ever used it.
I am assuming the reference to Brace Indication was a typing mistake.

As to brace matching, Zeus does already have this feature. To see what I mean run the following test:
  1. Open a file containing braces that need to be matched
  2. Make sure the document type for the file loaded has brace matching defined as follows:
    • Options, Properties menu
    • In the templates section make sure the prefix and postfix characters are define to be {[<( and }]>)
  3. Next go back to the source file and place the cursor on (or after) one of these {[<( or these }]>) braces characters
  4. Use the Macros, Execute Sacript menu and type in: BraceMatch
  5. Next use the Macros, Execute Sacript menu and type in: BraceMatchEx
The test above has just run the BraceMatch and the BraceMatchEx keyboard brace matching functions. In the test above you should see the cursor move to the matching brace. If you repeat the process the cursor will move back to the original brace.

To make these functions more useful you can also bind then to the keyboard. For more information on how to do this see the
Accelerator Keys for Menu Items and Toolbar Buttons tip.
Are there any plans for incorporating this into a future version? (Or maybe is there already such a functionality and i didn't found the place where to enable? [Smile]
The Zeus brace matching is not as sophisticated as some, in that it does not do automatic brace matching. This limitation will most likely improved with feature versions.

Jussi
egrath
Posts: 14
Joined: Thu Sep 02, 2004 4:48 am
Location: In the Alps of Austria

Post by egrath »

Thanks for your fast reply and help!

Bye, Egon
Post Reply