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
Quick Find command
Viewed 5140 times since Mon, Feb 10, 2014
Miscellaneous
Viewed 3775 times since Thu, Oct 13, 2011
Find in Files command
Viewed 8434 times since Thu, Oct 13, 2011
Find Prev command
Viewed 2806 times since Thu, Oct 13, 2011
Character Properties
Viewed 3355 times since Thu, Oct 13, 2011
Regular Expressions
Viewed 17228 times since Thu, Oct 20, 2011
Incremental Search
Viewed 3763 times since Thu, Oct 13, 2011
Regular Expressions (Perl Style)
Viewed 7729 times since Thu, Oct 20, 2011
Find command
Viewed 9638 times since Thu, Oct 13, 2011
Back/Forward command
Viewed 2540 times since Thu, Oct 13, 2011