Skip to content

Matching Brace Adjacency #747

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 28, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions content/docs/searching.md
Original file line number Diff line number Diff line change
Expand Up @@ -443,8 +443,8 @@ There are a few **Search**-menu commands that don't fit within other categories:
- `You can't go further than`: This is the end of the file, in the current Line/Offset units.
- **Go**: Moves the caret to the given location.
- **I'm going nowhere**: Exits the dialog without moving the caret. (This is the same as a **Cancel** action in most dialog boxes.)
- **Go to Matching Brace**: Allows parentheses and braces navigation. If the caret is on the opening parenthesis `(` or bracket `[` or brace `{`, then this command will move the caret to the matching closing-character `)` or `]` or `}`; similarly, if the caret is on the closing character, the command will move the caret to the matching opening-character. (The [**Style Configurator > Global Styles > Brace Highlight Style**](../preferences/#global-styles) will be used to highlight the opening and closing pairs of characters.)
- **Select All In-between {} [] or ()**: Will select all the text in between a matching pair of `{}` or `[]` or `()`; the selection will include the surrounding pair of braces, brackets, or parentheses.
- **Go to Matching Brace**: Allows parentheses and braces navigation. If the caret is adjacent to the opening parenthesis `(` or bracket `[` or brace `{`, then this command will move the caret to just before the matching closing-character `)` or `]` or `}`; similarly, if the caret is on the closing character, the command will move the caret to just before the matching opening-character. (The [**Style Configurator > Global Styles > Brace Highlight Style**](../preferences/#global-styles) will be used to highlight the opening and closing pairs of characters.)
- **Select All In-between {} [] or ()**: Will select all the text in between a matching pair of braces `{}` or brackets `[]` or parentheses `()` if the command is activated when the caret is adjacent to one of those characters; the resulting selection will include the surrounding pair of braces, brackets, or parentheses.

# Search Syntax

Expand Down