Error with Spell

General TRichView support forum. Please post your questions here
Post Reply
Extorian
Posts: 24
Joined: Wed Dec 28, 2011 3:52 pm

Error with Spell

Post by Extorian »

Hi,

I have integrated the rvhunspell component into the ribbontabs demo. The suggestions are shown using the RVAPopupActionBar.

Everything is working fine except when I right click a misspelled word and select one from the list. The word is replaced with the short cut letter in brackets. I also tested with another right to left language and it happens in that too. It doesn't have any problems with English.

I have attached a picture showing this.
Image

Your assistance to correct this problem would be very much appreciated.[/img]
Sergey Tkachenko
Site Admin
Posts: 17571
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Try changing RVAPopupActionBar.AutoHotkey = maManual
Extorian
Posts: 24
Joined: Wed Dec 28, 2011 3:52 pm

Post by Extorian »

I tried that before and again just now. It doesn't seem to work.

I have set the AutoHotKeys property to maManual in the RVAPopupActionBar1 component and that did not work. So I set
RVAPopupActionBar1.AutoHotkeys:= maManual in the Form's OnCreate event and that did not work either. I also tried the onPopup Event.
Extorian
Posts: 24
Joined: Wed Dec 28, 2011 3:52 pm

Post by Extorian »

The (A) style character appears only in non English languages and that problem is in those languages only. For English, the suggestion list appears in the normal way with the hotkey letter underlined.


The (A) style hotkey in the spell suggestion for foreign languages is a useful feature. But there seems to be a bug when the clicked word replaces the word in the document.

I would like to keep the (A) style hotkey for the foreign languages and just need a fix for the hotkey character appearing in the document.
Sergey Tkachenko
Site Admin
Posts: 17571
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

I fixed it in my internal version.
I plan to upload this update for registered users later in this week.
Extorian
Posts: 24
Joined: Wed Dec 28, 2011 3:52 pm

Post by Extorian »

Thank you :) I shall be purchasing the component set in a few days God Willing.
Extorian
Posts: 24
Joined: Wed Dec 28, 2011 3:52 pm

Post by Extorian »

Is it possible to specify a font to display the spell suggestions in as a property?

Normally the foreign languages are displayed using the default fallback font in the menu and some of those look really horrible at small sizes.
Sergey Tkachenko
Site Admin
Posts: 17571
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

I am afraid you can only change font for all menus (as Screen.MenuFont).
Post Reply