Page 1 of 1

Problem on implement spellcheck in richviewedit

Posted: Sat Sep 30, 2006 12:38 am
by VT
I am having problems on implement spellcheck on a text editor with TRichViewEdit. I'm tried the following code:


procedure TForm.RichViewEditSpellingCheck(Sender: TCustomRichView;
const AWord: String; StyleNo: Integer; var Misspelled: Boolean);
begin
misspelled:=false;
if spellchecker_ignorelist.IndexOf(Aword) >= 0 then
exit;
misspelled:=not(spellchecker1.IsKnownWord(Aword,Spellchecker1.Language));
end;


procedure TForm.SpellLanguageComboBoxChange(Sender: TObject);
begin
RichViewEdit.StartLiveSpelling;
end;

It doesn't worked.
Please help me.

Posted: Sat Sep 30, 2006 7:04 pm
by Sergey Tkachenko
Do you use LS Speller?
Did you see this topic: http://www.trichview.com/forums/viewtopic.php?t=801 ?

Still having problems on spellchecking

Posted: Thu Oct 05, 2006 2:29 am
by VT
I tried the code on lsspelldemo but it didn't worked. When i add text with ADNL and start live spelling, it work, but when i click in richviewedit, the marks disapear and when i do live spelling againg, it don't work.
I'm using RVLSSpell and SpellChecker.
Please, help me.

Posted: Fri Oct 06, 2006 10:14 am
by Sergey Tkachenko
What version of LS Speller?

Still having problems on spellchecking

Posted: Sun Oct 08, 2006 11:30 pm
by VT
Well, I don't know wish version it is, but i have got it recently in one of those links you posted.

Posted: Fri Oct 13, 2006 10:58 am
by Sergey Tkachenko
I'll try to check this weekend, may be there is a newer version of LS Speller uploaded, incompatible with TRichView wrapper...