Replace dialog box parameters

Use the
Replace
dialog box to specify what to replace and where to search. The dialog box contains the following parameters.
Parameter
Description
Find What
Specify what to search for. Enter a new string or select a previously-searched string from the pull-down list. When the
Find
dialog box opens, this field contains either the selected text, or the text on which the caret is located.
The list of previously-searched stings is the same list that appears in the
History
list on the standard toolbar. Searched-for items are added to the top of the previously-searched string list.
Tip:
To search for an instruction, type the instruction's mnemonic (for example, ADD). To search for a rung edit zone, enter the ^ character (for example, ^r indicates a search for a pending edit replace).
Click the ... button (dots), located to the right of the
Find What
field, to display the
Search Item Browser
dialog, and choose an item to search for. The ... button is only enabled when
Limit To
is set to
Text Only
,
References to Exact Tag and Its Members
, or
References to Tag
.
Limit To
Choose an option from this menu to configure what the
Find What
field represents.
Tip:
This option is not available when searching within the Tag Editor/Data Monitor.
Replace With
Specify what to replace the
Find What
string with. Enter a new string or choose a previously-used string from the pull-down list.
To specify an instruction, type the instruction’s mnemonic.
Tip:
Cannot replace logic, tags or comments while online. It is possible to rename a program while online.
Click the dots button located to the right of the
Replace With
field to display the
Search Item Browser
dialog, and choose an item to use as a replacement.
Find Where
Select the range in which the search will be performed. When the scope to search spans multiple routines or tag listings, the order in which components are searched is the order in which they are displayed in the active organizer. The available options depend on which searchable window is active.
Wrap
Select this option to wrap the search back to the beginning, once the end of the current scope is reached. When enabled,
Find
automatically wraps to the beginning. This option is selected by default.
Match Whole Word Only
Select this option to instruct the search to only find complete words. This includes underscore characters, all punctuation marks, and any printable character that is not valid in a tag name.
This option is always selected with
Use Wildcards
.
Use Wildcards
Select this option to enable the use of wildcard characters in the
Find What
and
Replace With
fields. When selected, use an asterisk ("*") to substitute for zero or more characters. This function is available only when
Find Where
is set to
All Programs
,
All Programs in Current Task
, or
All Programs in Current Program
.
Multiple wildcard characters are permitted, but consecutive wildcard characters ("**") are not permitted in the
Find What
field. They are allowed in the
Replace With
field.
In the
Replace With
field, a wildcard character substitutes for any text matching the corresponding wildcard character in the
Find What
field as part of the find operation. The
Replace With
field must contain the same number or fewer wildcard characters than the
Find What
field. If the
Replace With
field contains fewer wildcard characters than the
Find What
field, the text matching the last unmatched wildcards is discarded.
Direction
Select
Up
or
Down
to specify the direction to search, relative to the current position within the active searchable window.
The direction of the search can extend across multiple routines or tag collections; the search order mirrors the order of the items in the active organizer. The default direction is
Down
.
Find Within
This area indicates where the
Logix Designer
application will search. Commas separate each search location. Click
Find Within
to expand this section of the dialog box and display options specific to each type of search component.
Find Next
Click this button to activate the search.
Find All
Click this button to find every occurrence of the specified string in the
Find What
field. The results of the search are written to the
Search Results
tab of the
Output
window. Click a search result to navigate to that location.
Replace
Click this button to find the first occurrence of the string specified in the
Find What
field. If nothing is found to replace, a message appears to indicate that nothing was found.
Clicking this button when an occurrence of the specified string is selected replaces the selected item with the string in the
Replace With
field.
Replace All
Click this button to replace every occurrence of the
Find What
string with the
Replace With
string.
The results of the
Replace All
action are written to the
Search Results
tab of the
Output
window.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal