The search (and replace) dialog has two subdialogs, "search properties" and "multiple files".
In "search properties" you enter the search criteria, and the options for the search criterieas such as whether to differ between upper and lower case, and where the search should be done within the file.
If you press "search/replace in current buffer", the search will be done in the current buffer only.
Options
Case sensitive | Check to differ between cases. |
Whole words | Check to search whole words only. |
Regular expressions | Search using regular expressions. A reference for Kon's implementation of regular expressions can be found here. |
Hex search | Search string is entered in hexadecimal notation. Each character is entered as a 1- or 2-digit hexadecimal number optionally separated by spaces. (If not separated by spaces, each number must be 2 digits). |
Origin
From cursor | Start searching from cursor position. |
Entire document | Start searching from (selected, see below) text start. |
Direction
Forward | Search forwards. |
Backward | Search backwards. |
Scope
Global | Search within the entire text. |
Selected | Search the selected text only. |
The properties are the same as for search with the following additions:
Options
Prompt on replace | Query before replace. |
Replace all | Replace all occurences, not only the first one found. If "Prompt on replace" is selected, this can be selected from the query dialog. |
In the "multiple files" subdialog, you can select multiple files to search or replace within. You can either specify the files to search by entering a number of search patterns separated with semicolons in the "Files" entry field, or select the button "Buffers only", and then select the buffers you want to search in the "Buffers" list box.
If you select to search files on disk you should also enter the path where to begin the search, and you also have the option to search in the directory structure by checking "search subdirectories".
Note! Replacements made on disk (not loaded buffers) cannot be undone!