WPCubed Product Support

Spell check on the fly

Hi;

Please, what is the TWPRichText event to be used for marking words whit the red waves. Is there an example for doinw or own spell check on the fly method?.

OnSpellCheckWord is not published in the TWPRichView class.

Thank you.

Felipe

#1 ♥ 0
3.4k Views 2 users read 1 min
support

The procedure must be implemented like this:

TSpellCheckWordEvent = procedure(Sender: TObject;
var word: WideString;
var resultvalue: TSpellCheckResult;
var hyphen_pos: TSpellCheckHyphen;
par: TParagraph;
posinpar: Integer
) of object;

resultvalue can be

spIgnored, spMisSpelled, spHyphenate, spReplaceWord

It used by product WPSpell and Addict Spell.

#2 ♥ 0
This category is archived. No new posts are possible.