The MisspelledWordCollection contains all misspelled words in the main part of a Text Control document.

Syntax

MisspelledWordCollection

Introduced: X18.

Methods

Method Description
elementAt Returns the element at a specified index in the collection.
(Inherited from Collection)
forEach Executes a callback function for each element.
(Inherited from Collection)
getCount Gets the number of elements contained in the collection.
(Inherited from Collection)
getCountOf Gets the number of misspelled words with a special meaning from the collection.
getItemAtInputPosition Gets the misspelled word of the specified kind at the current text input position.
getItemAtLocation Gets the misspelled word at a certain geometrical location.
getItemAtTextPosition Gets the misspelled word of the specified kind at the specified text input position.
ignore Changes the text of the specified misspelled word and marks it as ignored.
remove Removes the specified misspelled word from a Text Control document.