Interfaces | Spelling Check Interfaces

<< 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.

Components

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

addictspellinterface TRVAAddictSpellInterface

Addict 3 or 4

Yes

Yes

Yes1

Classic/Word

Win32+Win64

Spell checker

spellinterface TRVAASpellInterface

ASpell

 

 

Yes

Classic/Word

Win32

TRichView

dxspellinterface TRVADXSpellInterface

ExpressSpellChecker

 

Yes

Yes2

Classic/Word

Win32+Win64

TRichView

spellinterface TRVAHunSpellInterface

HunSpell

 

 

Yes

Classic/Word

Win32+Win64

TRichView

polarspellcheckinterface TRVAPolarSpellInterface

Polar SpellChecker

 

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

RichViewActions interfaces for third-party components