LabWindows/CVI

Replacing Text in Source Windows

The Replace command provides similar options as Find, plus the option to replace one search string with another string.

In the Replace dialog box, enter the text you want to find in Find what and enter in Replace with the new text you want to appear. Specify the same options as those found in the Find dialog box.

Click Find Next to search for the next match of the search string. The Replace button bar appears with the following options:

  • Find Next—Skips to the next occurrence of the search string without making a change.
  • Replace—Replaces the currently selected text and goes to the next occurrence of the search string.
  • Replace All—Finds and replaces all occurrences of the specified text without asking for confirmation.
  • Stop—Terminates the search, leaving the keyboard cursor at the current position.
  • Return—Terminates the search, leaving the keyboard cursor at the position where you initiated the search.
  • Next File—Moves the search to the next file if you enabled Multiple files.

Click Replace All to replace in the currently open file all occurrences of the search string without asking for confirmation.

You can bypass the Replace button bar and the Replace dialog box using the keyboard commands. View a list of the keyboard commands by opening the Change Shortcut Keys dialog box.