Use the Find/Replace command from the Edit menu to locate text in the editor pane of the current browser and optionally replace the located text with a specified value.
The search for your specified text is started from the top of the editor pane or from the current caret position, depending on the settings in the Start From group box. See also "Finding the Next Occurrence of Specified Text"
To limit your search, perform one of the following actions
Select the part of the editor pane contents in which the search is to be performed.
Check the Search Backwards check box in the Find/Replace dialog.
To locate and optionally replace text in the editor pane
Select the Find/Replace command from the Edit menu or press Ctrl+F.
The Find/Replace dialog, shown in the following example, is then displayed.
The contents of the Search Text combo box is selected (overtype mode) when the dialog is opened. This combo box contains a list of the text of the last 50 unique searches that you performed, so that you can repeat previous searches by selecting an entry from the combo box list. This list is maintained in the user profile of your current user logon.
In the Search Text combo box, specify or select the text that you want to locate in the editor pane.
In the Replace Text combo box, specify the text that is to replace any located text that is specified, if required. When the dialog is opened, this combo box is always blank, to prevent accidental replacements with text from previous replacements.
This combo box contains a list of the text of the last 50 unique replacements that you performed, so that you can repeat previous replacements by selecting an entry from the combo box list. This list is maintained in the user profile of your current user logon.
If you want the exact match by case (where uppercase or lowercase is significant), check the Case Sensitive check box. A search is then performed for text with the same capitalization as the text in the Search Text combo box. By default, searching is case-insensitive; that is, this check box is unchecked.
You can optionally replace text that is located and matched by case with text with the same capitalization as the specified in the Replace Text combo box.
If you want only text that is an identifier in which the whole word matches to be located and replaced, check the Full Identifier Only check box. If this check box is checked and the text is not an identifier, the locate and replace actions will fail.
By default, any identifier text that matches the string that is being searched for will be located and replaced, regardless of whether it is embedded or not in another word.
If you want to confirm that each occurrence of the specified search text is replaced with the specified replacement text, check the Prompt on Replace check box. By default, you are not prompted to confirm text replacement; that is, this check box is unchecked.
When you select text replacement confirmation and you click the Replace All button, the Verify Replace dialog is displayed every time the search text is located. In the Verify Replace dialog, perform one of the following actions.
Click the Yes button to confirm that the located text is to be replaced.
Click the No button to leave the highlighted text unchanged and continue searching for the specified string.
Click the Cancel button to abandon the search and return focus to the editor pane.
If you want to search backwards through the contents of the editor pane from the current caret position up to the beginning of the editor pane, check the Search Backwards check box. The Search Backwards check box is enabled only when you select the Caret option button in the Start From group box. By default, searching is performed from the current caret position to the end of the editor pane; that is, this check box is unchecked.
When this option is checked, you have specified your search and replacement text, and you click the Replace All button, the Verify Replace dialog is displayed every time the search text is located.
If you want the search to start from a specific position in the editor pane, select the Caret option button in the Start From group box. The Search Backwards check box is then enabled.
By default, the Top option button is selected, indicating that the search begins at the top of the editor pane.
To find the next occurrence of the specified text, click the Find button.
If JADE finds the text string that matches your specified options, the located text is then highlighted and focus is returned to the editor pane. If JADE cannot find the text string that matches your specified options, a message dialog informs you that the search text was not found and waits for you to click the OK button in the message dialog before returning focus to the editor pane.
To replace all occurrences of the text specified in the Search Text combo box with the text specified in the Replace Text combo box, click the Replace All button.
If JADE finds the text string that matches your specified options, all occurrences of the located text are then replaced with the specified replacement text and focus is returned to the editor pane. If you checked the Prompt on Replace check box, you are prompted to confirm that each occurrence of the located text is to be replaced.
Click the OK button. Alternatively, click the Cancel button to abandon your selection.