Removes the specified misspelled word from a Text Control document. The method removes the word's reference in the list of misspelled words and replaces the word's text with the specified text.
Introduced: X18.
<void> MisspelledWordCollection.remove(<MisspelledWord> misspelledWord, <String> correctedText, <RequestBooleanCallback> callback, [<ErrorCallback> errorCallback])
Parameter | Description |
---|---|
misspelled |
Specifies the misspelled word to remove. |
corrected |
Specifies the corrected text. The current text of the word is replaced with this text. |
callback | Receives whether the misspelled word could be removed. |
error |
Optional. Is called when the operation failed with an error. |