Searches text in the script currently open in the editing panel and replaces it with the replacement text, if need be.
The dialog contains the following tools:
To operate the search tool, type the text in the Search field and click on the button. Should the text entered be found, it is highlighted in the editing panel and the message Text was found appears in the upper part of the dialog. If a match was found, click on the button to advance to the next match. If no further match is found, the message No further match was found appears in the upper part of the dialog.
This tool is used to replace a text with the replacement text previously typed in the field Replace by. Upon activation of the button, the element found is highlighted and the message Text was found appears in the upper part of the dialog. By clicking again on the button Replace, the element is replaced by the replacement text and the next match is highlighted. Should no further match be found, the message No further match was found appears in the upper part of the dialog. Activate the button to replace all matches contained in the script at one time. The upper part of the dialog will display how many elements have been replaced.
If the button Replace by field is empty, all matches will be erased. The replacements cannot be undone by activating the button, but by closing the script editor without saving the changes or with the undo function.
or is activated while theThe following search and replace options can be used:
If this option is chosen, the search will be case-insensitive.
Only sections containing the whole search text will be considered as matches, whereas those containing only partly the search text will be ignored.
Causes the search to begin at the top of the script. If it is disabled, the search will start from the cursor position.
The search is run from the script bottom upwards instead of from top downwards.
Related topic: