<< Click to display table of contents >> Interfaces | Spelling Check Interfaces |
Spelling check interfaces allow using third-party components to correct spelling errors in TRichViewEdit.
To use a spelling check interface component, assign it to SpellInterface property of TRVAControlPanel component.
Then you can:
•use TrvActionSpellingCheck action
•use TrvActionThesaurus action (if the chosen interface component supports a thesaurus)
•call its AutoCorrectInKeyDown in the editor's OnKeyDown event and AutoCorrectInKeyPress in the editor's OnKeyPress event to perform auto-correction on typing (if the chosen interface component supports an auto-correction)
•assign the inverted result of its IsWordValid method to the Misspelled parameter of the editor's OnSpellingCheck event to perform a live spelling check.
All spelling check interface components implement both live spelling check (spelling check in a background thread) and a traditional spelling check using dialogs
Component |
Requires |
Thesaurus |
Auto-correction |
Dialog Localization |
Dialog Type |
Win32/Win64 |
Parser is implemented by |
– |
– |
Yes |
Yes |
Classic/Word |
Win32+Win64 |
TRichView |
|
Yes |
Yes |
Yes1 |
Classic/Word |
Win32+Win64 |
Spell checker |
||
– |
– |
Yes |
Classic/Word |
Win32 |
TRichView |
||
– |
Yes |
Yes2 |
Classic/Word |
Win32+Win64 |
TRichView |
||
– |
– |
Yes |
Classic/Word |
Win32+Win64 |
TRichView |
||
– |
Yes |
Yes3 |
Classic |
Win32 |
TRichView |
Localization:
1: a spelling form is localized by the spelling checker, RichViewActions select the most appropriate language for TRVAControlPanel.Language automatically.
2: a spelling form is localized by the spelling checker.
3: a spelling form can be localized by the spelling checker, however, ready-to-use localized text is not supplied.
See also