Page 1 of 1

RVAddictSpell3 don't wavy line protected text

Posted: Tue Mar 10, 2015 12:48 pm
by johnF
Hi,

Is there a way to prevent the RVAddictSpell3 component from putting the wavy lines under protected text (rvprModifyProtect)?

Cheers, Jim.

Posted: Tue Mar 10, 2015 1:57 pm
by Sergey Tkachenko
Words are checked in TRichViewEdit.OnSpellingCheck event.
It has StyleNo parameter, so you can write:

Code: Select all

Misspelled := not(rvprModifyProtect in Sender.Style.TextStyles[StyleNo].Protection) and not RVAddictSpell31.WordAcceptable(AWord);

Posted: Tue Mar 10, 2015 3:33 pm
by johnF
Perfect, Thanks.