I have project for spellsheck with hunspell DLL.
In your subject we have TRichView, but I need to use TSRichView. I change components, and linked TRVAPopupMenu with my TSRichView, but he is not popup.
Spellsheck with hunspell DLL
-
- Site Admin
- Posts: 17524
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
TSRichViewEdit is checked like TRichViewEdit, you just need using SRichViewEdit.ActiveEditor as a parameter.
TRVAPopupMenu does not support hunspell automatically.
First, you need to process OnSpellingCheck event to underline misspelled words.
Next, process events of TRVAPopupMenu: OnLiveSpellGetSuggestions, OnLiveSpellIgnoreAll, OnLiveSpellAdd.
You can find the example in demo projects included in the spell parsers, in HunSpell\RichViewActions folder. This example is for TRichViewEdit, but, as I said, an example for TSRichViewEdit would be the same.
TRVAPopupMenu does not support hunspell automatically.
First, you need to process OnSpellingCheck event to underline misspelled words.
Next, process events of TRVAPopupMenu: OnLiveSpellGetSuggestions, OnLiveSpellIgnoreAll, OnLiveSpellAdd.
You can find the example in demo projects included in the spell parsers, in HunSpell\RichViewActions folder. This example is for TRichViewEdit, but, as I said, an example for TSRichViewEdit would be the same.
I did exactly as you said. For the example Demos\HunSpell\RishViewActions\
and I replaced RichViewEdit on SRichViewEdit.
Then I process the event OnSpellingCheck for SRichViewEdit.
Then I link SRichViewEditwith RVAPopupMenu, (tried to link SRichViewEdit.ActiveEditor with TRVAPopupMenu)
For TRVAPopupMenu process events OnLiveSpellGetSuggestions, OnLiveSpellIgnoreAll, OnLiveSpellAdd.
The dictionaries are downloaded, the erroneous words are underlined, but RVAPopupMenu is not working, nothing POPs up.
and I replaced RichViewEdit on SRichViewEdit.
Then I process the event OnSpellingCheck for SRichViewEdit.
Then I link SRichViewEditwith RVAPopupMenu, (tried to link SRichViewEdit.ActiveEditor with TRVAPopupMenu)
For TRVAPopupMenu process events OnLiveSpellGetSuggestions, OnLiveSpellIgnoreAll, OnLiveSpellAdd.
The dictionaries are downloaded, the erroneous words are underlined, but RVAPopupMenu is not working, nothing POPs up.
-
- Site Admin
- Posts: 17524
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
-
- Site Admin
- Posts: 17524
- Joined: Sat Aug 27, 2005 10:28 am
- Contact: