Replace All Results
When choosing
Replace All
for a search, all results of the replace operation display in Output
. This information appears:- Title of the operation - indicates what is displayed in theSearchtab of theOutputFor example:Replacing "Text String" with "Replace Text String"...
Where <Location> appears only if the scope does not specify a search that crosses multiple components.
- Scope - indicates where in the project the search is being performed when the scope of the search crosses multiple componentsFor example, for the language editors:Searching through [Program Name] - [Routine Name]For theTag Editor:Searching through [Tag Collection]
- Location of found and replaced itemsThe format of replaced items depends on what is being searched for and where it is found. In general, the format is:Replaced: [Specific Location]: Context
- Depending on where the found item resides, the context information for routines is either neutral text, comment text, or nothing.
- For tag collections, the context information is the information found in the grid cell of the found item.
Where the specific location specifies where the item was found, and the optional context displays the surrounding context of the found item after the replace.
The format of the [Specific Location] field depends on the component in which the found item resides. This includes different routine types.
The format of the context field also depends on the component in which the found item resides. This includes different routine types.
If an error occurs when replacing the item, the format of the string changes to:
Failed Replace: [Specific Location]: <Context><Failed Reason>.
- Number of occurrences found – indicates the number found and the number of occurrences replaced. This number might be different, especially if errors occur.
Provide Feedback