8.11 Searching and replacing text
Ctrl-S
to perform an incremental search (in which every character you type further refines the search). A prompt appears in the echo area, asking you to type a string to search for. As soon as you start typing, the search commences.Consider the following example: You want to search for the word "defmacro" in a file.
I-search:
d
.
I-search:d
e
.
I-search:deThe cursor moves to the first occurrence of "de".
f
.
I-search:defThe cursor moves to the first occurrence of "def".
This continues until you stop typing, or until the editor fails to find the string you have typed in the current buffer. If at any point this does occur, the prompt in the echo podium changes to reflect this. For instance, if your file contains the word "defun" but not the word "defmacro", the prompt changes to
Failing I-search: defmas soon as you type
m
.
Generated with Harlequin WebMaker