Finding/Replacing C and ESDL Code

  1. Select the Specification view.
  2. Open the Edit menu and select Find/Replace.

    The Find/Replace window opens.

  3. In the Find field, enter a search string.

    You can use wild cards: # for one character, * for a string of characters.

  4. In the Replace With field, enter a replace string.
  5. Use the options below the Replace With field to customize the search.
  6. Click the Find Next button.

    The next occurrence of the search string is highlighted. If the search string is not found, a message is displayed in the Status line.

  7. To replace a single occurrence of the search string, do one of the following.

    • Click Replace Selection to replace the occurrence.
    • Click Replace/Find to replace the occurrence and find the next occurrence.

    These buttons are only available if the search string has been found.

  8. Click Replace All to replace all occurrences.
  9. To extend the search to all methods/processes of the component, proceed as follows.

    1. Activate the Search in All Methods/Processes option.

      The Occurrences field appears. It lists all methods/processes that contain the search string.

    2. Double-click a method/process in the list to display it in the Specification view.
    3. Use the Replace * buttons to replace one or more occurrences of the search string.
    4. Repeat the previous steps for other methods/processes.
  10. Click Close to close the Find/Replace window.

See also

Find/Replace Dialog Window