Replacing A Character String in One Component

You can replace all occurrences of a character string in one component at once.

  1. Find the character string you want to replace as described in Replacing Selected Character Strings.
  2. In the Find/Replace (ESDL and C Code only) window, enter the new text in the Replace with field.
  3. Highlight the component within which you want to replace the character string.

    With that, all occurrences of the character string in the component are selected.

  4. Click Replace.

  5. If you selected a write-protected component, Closedanother step is inserted.

    1. Proceed as follows:

      1. Activate Remember my Decision if you want to apply your answer to all such cases.

        You can revoke this setting in the ASCET options window, Confirmation Dialogs node.

      2. Click No to return to the Find/Replace (ESDL and C Code only) window.

        Or

      3. In the message window, click Yes to continue the procedure for the modifiable components in your selection.

        If your selection contains only write-protected components, another message opens: No modifiable components left. Use OK to return to the Find/Replace (ESDL and C Code only) window.

    All occurrences of the character string in the selected component (for C code: including all implementations and targets) are replaced by the new text.

See also

Finding a Character String

Viewing the Search Results

Opening the Component from the Search Window

Replacing Selected Character Strings

Replacing A Character String in the Database/Workspace

Find and Find/Replace Dialog Windows