Changes the text of the specified misspelled word and marks it as ignored. Ignored misspelled words are not underlined with a red zigzag line.
Introduced: X18.
<void> MisspelledWordCollection.ignore(<MisspelledWord> misspelledWord, <String> changedText, <RequestBooleanCallback> callback, [<ErrorCallback> errorCallback])
Parameter | Description |
---|---|
misspelled |
Specifies the misspelled word to change. |
changed |
Specifies the changed text. The current text of the word is replaced with this text. |
callback | Receives whether the misspelled word could be changed. |
error |
Optional. Is called when the operation failed with an error. |