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

ReplaceNextCommand Methods

A command to search for a specific text and replace the next match in the document with the specified string.
Name Description
execute(text, replaceText, matchCase)

Executes the ReplaceNextCommand command by applying the specified settings.

May result in taking no action if the command’s state does not allow command execution. Use the object’s getState method to check the command state.

getState Inherited from CommandWithSimpleStateBase.
See Also