Spell Checking
While spell checking is active, TXTextControl raises an event whenever altered text must be checked. The members below switch spell checking on, count the misspelled words of a document, find their position and length and remove a misspelled word.
Properties
| Member | Description |
|---|---|
TXTextControl.EnableSpellChecking | Gets or sets a value indicating whether spell checking is active or not. |
TXTextControl.MisspelledWordAtInputPos | Gets the number of the misspelled word at the current text input position. |
TXTextControl.MisspelledWordLength | Gets the length of the misspelled word with the specified number. |
TXTextControl.MisspelledWords | Gets the current number of misspelled words. |
TXTextControl.MisspelledWordStart | Gets the zero-based position of the misspelled word with the specified number. |
Methods
| Member | Description |
|---|---|
TXTextControl.MisspelledWordDelete | Removes the specified misspelled word from a TXTextControl document. |
Events
| Member | Description |
|---|---|
TXTextControl.SpellCheckText | Occurs, if the document's text has been altered and the spelling of the new text must be checked. |