Skip to content
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

Incremental Search improvements #611

Merged
merged 2 commits into from
Dec 20, 2023
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
6 changes: 4 additions & 2 deletions content/docs/searching.md
Original file line number Diff line number Diff line change
Expand Up @@ -385,13 +385,15 @@ Incremental search is similar to the searching capabilities found in your favori

This command will show a small region at the bottom of the Notepad++, which has a few simple features.

* The **X** allows you to close out of Incremental Search.
* The **Find** box is where you type your literal search term.
* Clicking the **X** button allows you to close the Incremental Search window and return to the editor window. If a control in the Incremental Search window currently has input focus, e.g. if you are typing into the Find box, another way to close the window is by pressing the `Esc` key.
* The **Find** box is where you type your literal search term. As you type, the editor window will move the selection to the next match for the contents of Find (hence, the "incremental" search because as you "incrementally" change the search term, it will update the match).
* The **<** and **>** buttons navigate backward and forward through the search results (wrapping around when it reaches the end or start of the document).
* If the **☐ Highlight all** checkbox is not checked, it will only highlight the current match; if it is checked, all matches will be highlighted.
* If the **☐ Match case** checkbox is checked, the results will only match if case is exactly the same, otherwise case doesn't matter.
* To the right of those checkboxes, a message about the results will occur: either the number of matches, a message that indicates that you've wrapped around to the top or bottom of the document, or "Phrase not found" if there are no matches. When there are no matches, the **Find** box also changes color.

Starting in v8.6.1, the shortcut keys for **Find Next** and **Find Previous** (defaults are `F3` and `Shift-F3`, respectively) work when input focus is in the Incremental Search window, e.g. when you are typing into the Find box, and you want the editor to move to a different match. This avoids needing to reach for the mouse in order to press the **>** or **<** buttons to move between matches.

## Extended Search Mode

In extended mode, these escape sequences (a backslash followed by a single character and optional material) have special meaning, and will not be interpreted literally.
Expand Down