About Matching Group Delimiters

Home Page (Text Editor)OverviewHow Do I ... TopicsFAQReference

Source code is often grouped using delimiters such as (), {}, and []. These groupings are called levels. You can navigate these levels using the LevelUp and LevelDown commands. The Text editor understands nested levels, and matches the correct delimiter even if the level spans several pages and itself contains many levels.

The LevelUp command searches backward for one of the right-side delimiters, and then positions the cursor before the matching left-side delimiter. The LevelDown command searches forward for a left-side delimiter, and then positions the cursor after the matching right-side delimiter.

The Text editor also provides the GoToMatchBrace and GoToMatchBraceExtend commands. When the cursor is initially positioned next to a delimiter, the GoToMatchBrace command moves the cursor to the matching delimiter in a block. Since this command works independently of whether the character is a right-side or left-side delimiter, you can quickly jump between the start and end of a level. The GoToMatchBraceExtend command extends the selection to the matching delimiter instead of moving the cursor.