RichEditCommands.findAll Property
Gets a command to find all matches of the specified text in the document.
Declaration
get 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.
Refer to the following section for more information: Client Commands.
See Also