Normal search
You can search text as in most programs using the Find/Replace dialog. You can open this dialog by selecting
(or pressing ), (or pressing ) or .Each of these options will open the corresponding tab in the Find/Replace dialog. This dialog will always stay on top of the text, but you can still keep on editing the text if it's opened, and you can set it to be transparent (using the Transparency option) when its inactive (On lose focus) or at all times (Always). The slider controls the amount of transparency. Note that transparency is only available on Windows 2000 and later.
In the Find what field, type the text you want to find. This is automatically filled with the current selected text, or the word under the caret, or the last searched pattern, when the Find dialog is opened. The drop down list contains previous search items if a search was performed before. See also Search Mode.
The section below the Find what field allows you to mark and indicate all hits for a certain search.
- Mark Line adds a bookmark (see Bookmarks) to the line with a hit
- Style found token will give the matching text a different color (see Marking search results)
- Purge for each search will clear all bookmarks and highlights before searching again.
To perform any of these actions, click the
button in the section. To clear all the results, click the button.The In selection checkbox will restrict search to the selection. It is disabled if there is no selection.
- Match whole word only will only result in a hit if the match consists of an entire word, not if it's partial (for example (but not limited to), whitespace separated).
- Match case enforces that hits have exactly the same case as the query. If this is disabled, the search is case insensitive.
- Wrap around will start at the top of the file when the end of the file is reached when searching, depending on the location of the cursor.
The search mode determines how the query will be handled:
- In Normal, the text will be searched literally.
-
In Extended, special character sequences will be interpreted as special characters such as newline characters. In this case, you can choose from:
- \\ - Backslash character;
- \t – TAB character;
- \r – CR character;
- \n – LF character;
- \0 – NULL character;
- \x## - Hexadecimal value (between 00 and FF);
- \u#### - Extended hexadecimal value (between 0000 and FFFF, meant for Unicode characters);
- \d### - Decimal value (between 000 and 255);
- \o### - Octal value (between 000 and 377);
- \b######## - Binary value (between 00000000 and 11111111).
- In Regular Expression, the query will be handled like a regular expression (POSIX).
The search direction determines to what relative direction of the cursor will be searched. Up means text before the cursor will be searched, Down means text beyond the cursor will be searched.
To find the (next) hit, press Searching in Files. behaves in a very similar way.
(or Enter). will count the amount of hits the search will result in. will search all opened documents and displays a list of results for each file, see alsosimple closes the search dialog (close button and ESC do the same).