Hello,
I am working on adding spell checking to RichMemo component using the NHunspell and I need testers
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
USE :
The dll Hunspellx86.dll must be at the root of your application.
Drag and drop the component as usual.
Indicate in the property « PathtoOXT » the folder where the dictionaries are installed OXT («.\ dic\ » by default).
English and French dictionaries are provided.
To download more dictionaries:
http://extensions.libreoffice.org/extension-center?getCategories=Dictionary-1/ Spell checking window :
In the event OnClick of an button or in the OnExecute of an ActionList with « F7 » as a shortcut key write :
RichMemo1.SpellCheckForm;
If multiple dictionaries installed, you can select the one you want from the ComboBox spell checking window; the change will immediately take effect.
At the next window opens, your final choice will be selected.
-2/ Coloring in red misspelled words.
You can use the procedure
RichMemo1.Color_Spelling_Mistake
to color in red misspelled words ( see \samples\spellCheck for an example ).
-3/ Get list of spelling suggestions for a misspelled word
You can use the procedure
SuggestList(const selword: string; SList: TstringList);
for get list of spelling suggestions for a misspelled word
for example :
RichMemo1.SuggestList(RichMemo1.SelText,List);
See \samples\spellCheck for an example of interaction with a popupmenu.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=-=
http://dl.free.fr/fveWraDIGlegroumf@yahoo.frThank you for your future suggestions.