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 6602 times since Mon, Feb 10, 2014
Replace command
Viewed 40421 times since Thu, Oct 13, 2011
Find Prev command
Viewed 3470 times since Thu, Oct 13, 2011
Regular Expressions (Perl Style)
Viewed 8903 times since Thu, Oct 20, 2011
Find Next command
Viewed 4003 times since Thu, Oct 13, 2011
Function List command
Viewed 4762 times since Thu, Oct 13, 2011
Regular Expressions
Viewed 21196 times since Thu, Oct 20, 2011
Search menu
Viewed 4757 times since Thu, Oct 13, 2011
Toggle Bookmark command
Viewed 5249 times since Thu, Oct 13, 2011
Word Count command
Viewed 11235 times since Thu, Oct 13, 2011