Home » Products » UltraEdit/UEStudio » Menu Commands (UE) » Search

Select to matching brace command

This command searches forward in the file from the cursor position to find an open or close brace.  If an open brace is found, the search continues in a forward direction until a matching close brace is found at the same nest level.  If the first brace found is a close brace, the search is performed in the reverse direction until a matching open brace is found at the same nest level.

 

When the matching brace is found, all the text between and including the two braces is highlighted.

 

By default an open brace is '(', '[', or '{' and a close brace is ')', ']' and '}'.  Users may specify different characters/strings for open/close braces on a per language basis using the Open Brace Strings and Close Brace Strings commands in the wordfile as described under Syntax Highlighting.

 

Additionally, UltraEdit will automatically highlight a matching bracket/brace if the match is in view when this cursor is positioned to the right or left of a bracket/brace.  No screen positioning will be performed, the bracket/brace will only be highlighted if it is in view.

 

If the file is designated as an HTML file (see Syntax Highlighting) matching '<' and '>' characters will be highlighted also.

 

Shortcut:         CTRL+B   

Attachments
There are no attachments for this article.
Related Articles
Function List command
Viewed 1564 times since Thu, Oct 13, 2011
Find command
Viewed 3182 times since Thu, Oct 13, 2011
Incremental Search
Viewed 1477 times since Thu, Oct 13, 2011
Back/Forward command
Viewed 1443 times since Thu, Oct 13, 2011
Find Prev command
Viewed 775 times since Thu, Oct 13, 2011
Replace in Files command
Viewed 1408 times since Thu, Oct 13, 2011
Character Properties
Viewed 1616 times since Thu, Oct 13, 2011
Miscellaneous
Viewed 1517 times since Thu, Oct 13, 2011
Search menu
Viewed 1699 times since Thu, Oct 13, 2011
Word Count command
Viewed 3793 times since Thu, Oct 13, 2011