TCustomRichView.StartLiveSpelling

<< Click to display table of contents >>

TCustomRichView.StartLiveSpelling

Starts live spelling check (runs a live spelling thread).

procedure StartLiveSpelling;

(introduced in v1.9)

A check starts only if:

OnSpellingCheck event is assigned, or

[in FireMonkey, in TRichViewEdit] CheckSpelling = True, and the current platform provides a spelling checking service.

If live spelling thread is already active, this method clears all live spelling underlines and restarts the thread from the beginning of document.

Note: If you use RichViewActions and want to start live spelling immediately when document is loaded, call StartLiveSpelling  in TrvActionOpen.OnOpenFile.

 

See also property of TRichViewEdit:

LiveSpellingMode.

See also:

Live spelling check in TRichView

TRVSpellChecker.StartLiveSpelling