trichview.com

trichview.support.thirdparty




Re: Live spelling for RV Addict


Return to index


Author

Message

Sergey Tkachenko

Posted: 10/16/2004 21:11:37


TAddictAutoLiveSpell does not work with TRichView.

Use TRVAddictSpell3.


In TRichViewEdit.OnSpellingCheck event:


procedure TForm3.RichViewEdit1SpellingCheck(Sender: TCustomRichView;

  const AWord: String; StyleNo: Integer; var Misspelled: Boolean);

begin

  Misspelled := not RVAddictSpell31.WordAcceptable(AWord);

end;


Also:


// RVAddictSpell31.OnParserIgnoreWord: if Ignore All or Add buttons were

pressed

// in spellchecker dialog, removing underlines from the ignored word

procedure TForm3.RVAddictSpell31ParserIgnoreWord(Sender: TObject;

  Before: Boolean; State: Integer);

begin

  if not Before and (State in [IgnoreState_IgnoreAll, IgnoreState_Add]) then

    RichViewEdit1.LiveSpellingValidateWord(RVAddictSpell31.CurrentWord);

end;


In RichViewActions' demo (ActionTest), there are lines of code related to

Addict3 live spelling (they are commented out)



> I have Rich view 1.9 and RV Addict addin component. I have dropped a

> TAddictAutoLiveSpell component and linked it with the Richview component.

>

> Set all properties including LiveControl, LiveCorrect and LiveSpelling,

> still I don;t see spell check happening as I type?

>

> Do I need to do any other settings?

>

> regards

> Baliga

>

>






Powered by ABC Amber Outlook Express Converter