88. searchReplace

Parameter syntax:

[ search|searchBackwards|replace|replaceBackwards|
  findAgain|findAgainBackwards ]?

Displays a modal dialog box which lets the user search and replace text in the document being edited (same as the Search tool in XMLmind XML Editor).

The parameter defaults to search.

search

Displays the dialog box configured to be used for a text search from caret position to end of document.

searchBackwards

Displays the dialog box configured to be used for a text search from caret position to beginning of document.

replace

Displays the dialog box configured to be used for a search/replace operation from caret position to end of document.

replaceBackwards

Displays the dialog box configured to be used for a search/replace operation from caret position to beginning of document.

findAgain

The dialog box is not displayed. Repeats last text search from caret position to end of document.

findAgainBackwards

The dialog box is not displayed. Repeats last text search from caret position to beginning of document.

This command has been added mainly to allow simple XML editors built using XXE components (that is, not XXE itself) to have the same facilities than XXE.