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 2021 times since Mon, Feb 10, 2014
Function List command
Viewed 2064 times since Thu, Oct 13, 2011
Save Bookmarks
Viewed 2582 times since Thu, Oct 20, 2011
Goto Line/Page/Bookmark command
Viewed 3820 times since Thu, Oct 13, 2011
Incremental Search
Viewed 2193 times since Thu, Oct 13, 2011
Regular Expressions
Viewed 7855 times since Thu, Oct 20, 2011
Miscellaneous
Viewed 2220 times since Thu, Oct 13, 2011
Replace command
Viewed 15950 times since Thu, Oct 13, 2011
Regular Expressions (Perl Style)
Viewed 4710 times since Thu, Oct 20, 2011
Search menu
Viewed 2450 times since Thu, Oct 13, 2011