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.
Problem on implement spellcheck in richviewedit
-
- Site Admin
- Posts: 17557
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Do you use LS Speller?
Did you see this topic: http://www.trichview.com/forums/viewtopic.php?t=801 ?
Did you see this topic: http://www.trichview.com/forums/viewtopic.php?t=801 ?
Still having problems on spellchecking
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.
I'm using RVLSSpell and SpellChecker.
Please, help me.
-
- Site Admin
- Posts: 17557
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Still having problems on spellchecking
Well, I don't know wish version it is, but i have got it recently in one of those links you posted.
-
- Site Admin
- Posts: 17557
- Joined: Sat Aug 27, 2005 10:28 am
- Contact: