12.12.1 Searching for text

The simplest way of searching for text in a buffer is to use the commands available in the menu bar:

  1. Choose Edit > Find... to search for text in the current buffer.
  2. Type a string to search for in the dialog that appears.
  3. Click the Find Next button.

Figure 12.20 Use of the Find dialog in the Editor

The cursor is placed immediately after the next occurrence in the current buffer of the string you specified. To search the buffer from the start, rather than the current point, check From Top and click Find Next . To search upwards, select Up in the Direction panel and click Find Next . To search again for a string that you previously searched for, select the string from the Find what list and click Find Next .

To dismiss the Find dialog, click Cancel .

After you have used the Find dialog, you can use Edit > Find Next or Command+G to find the next occurrence of the last string for which you searched using the dialog, without raising the dialog again.

Common LispWorks User Guide (Macintosh version) - 5 Jul 2006