Skip to main content
A newer version of this page is available. .
cut

RichEditCommands.findAll Property

Gets a command to find all matches of the specified text in the document.

Declaration

readonly findAll: FindAllCommand

Property Value

Type Description
FindAllCommand

An object that provides methods that execute the command and check its state.

Remarks

Call the execute(text, matchCase, highlightResults) method to invoke the command. The method checks the command state (obtained via the getState method) to determine whether the action can be performed.

Usage examples:

var results = [];
richEdit.commands.findAll.execute("matching text", true, true, results);
richEdit.commands.findAll.execute("matching text", true, true);

Use the RichEditCommands.hideFindResults command to hide the search results.

See Also