Finding and Replacing Text

JADE rich text controls enable users to search for specified text and to search for text and replace it with a specified value.

To perform a find or a replace action

  1. Right-click in the rich text control. The context menu is then displayed.

  2. Select the Find command if you want to only to locate specific text or select the Replace command if you want to replace located text with another text value.

    The Find dialog or the Find and Replace dialog is then displayed, depending on the menu command that you selected. The Find dialog is a simpler form of the Find and Replace dialog.

  3. In the Find what text box, specify the text that you want to locate in the control.

  4. If you selected the Replace command, in the Replace with text box specify the text that is to replace the text specified in the Find what text box.

  5. In the Search group box, select the Up option button if you want to search backwards from the current position on the control to the top of the control. The default value of Down searches for text from the current position to the end (bottom) of the control.

  6. Check the Match case check box if you want the exact match by case (where uppercase or lowercase is significant). A search is then performed for text with the same capitalization as the text in the Find what text box. By default, searching is case-insensitive; that is, this check box is unchecked.

  7. Check the Whole word only check box if you want to find only whole words specified in the text in the Find what text box. By default, any word or part of a word that contains the specified characters is searched; that is, this check box is unchecked.

  8. To find the next occurrence of the specified text, click the Find Next button.

    If JADE finds the text string that matches the specified options, the located text is then highlighted. 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 control.

  9. If you selected the Replace command and you want to confirm that the located text is replaced with the replacement text, click the Replace button and then click the Find Next button again to find the next occurrence of the specified text from the text selected in the control, if required.

    Alternatively, click the Replace All button if you want to replace all occurrences of the specified search text with the specified replacement text. If JADE finds the text string within the selected text that matches your specified options, all occurrences of the located text are replaced with the specified replacement text.

  10. Click on the OK button. Alternatively, click the Cancel button to abandon your selection.