Find a Specific Line in a File

A quick way to find a specific line in a file is to use the Locate Line facility.

  1. Select Source (or Edit if working in the Editor window) from the main menu bar.
  2. Select Goto (or Locate if working in the Editor window) from the resulting pull-down menu.
  3. Select Line... from the cascading menu. The Locate line dialog box appears. The Line number text entry field displays the line number of the current cursor position.
  4. Replace the current line number with with another number, and click on OK. The Locate Line dialog box disappears and the cursor moves to the beginning of the chosen line.

Note: If you try to go to a line number that is greater than the number of lines in the file, the cursor moves to the beginning of the last line in the file.



Find a Named Location Mark
Find Text
Find and Replace Text