| Author |
Topic |
|
|
Mauro76
Italy
13 Posts |
|
|
Mauro76
Italy
13 Posts |
|
|
Jim
Canada
2203 Posts |
Posted - 15 Oct 2009 : 11:49:52
|
Hi, yes what you want to do is follow our 'custom GUI' example (in the demo project and also
http://keyoti.com/products/rapidspell/dotNet/HelpHTML/UserGuide/Examples/Custom%20RapidSpellDialog%20User%20Interface.htm
)
What you want to do is change the SetQuery method, so that the FIRST thing you do is remove the "^" chars, eg.
public void SetQuery(string beforeSentence, string word, string afterSentence) { beforeSentence = beforeSentence.Replace("^", ""); afterSentence = afterSentence.Replace("^", ""); word = word.Replace("^", ""); editableStart = beforeSentence.Length; editableEndFromEnd = afterSentence.Length; queryWordPane.Text = beforeSentence + word + afterSentence; queryWordPane.Select(editableStart, word.Length); queryWordPane.SelectionColor = HighlightFontColor; queryWordPane.SelectionFont = new Font(queryWordPane.SelectionFont, HighlightFontStyle); queryWordPane.Select(editableStart, 0); queryWordPane.ScrollToCaret(); }
That should take care of it for you - let us know.
Best Jim
-your feedback is helpful to other users, thank you! |
Edited by - Jim on 15 Oct 2009 11:51:01 |
 |
|
|
Mauro76
Italy
13 Posts |
|
|
Dan
306 Posts |
Posted - 16 Oct 2009 : 09:27:56
|
Hi Mauro,
Can you set LanguageParser=ITALIAN for RapidSpellDialog please.
That really should resolve it for you, please let us know how you get on.
Dan |
 |
|
|
Mauro76
Italy
13 Posts |
Posted - 19 Oct 2009 : 00:35:36
|
Hi Dan and Jim, I just set LanguageParser=ITALIAN for RapidSpellDialog, but our proplem isn't risolve. Every words, than have this char " ' " in the middle, is considered error. Why??? |
 |
|
|
Mauro76
Italy
13 Posts |
Posted - 19 Oct 2009 : 03:51:23
|
lol
|
 |
|
|
Mauro76
Italy
13 Posts |
Posted - 19 Oct 2009 : 03:52:28
|
Hi Dan and Jim, I just set LanguageParser=ITALIAN for RapidSpellDialog, but our problem isn't risolve. Every words, than have this char " ' " in the middle, is considered error. Why??? |
 |
|
|
Jim
Canada
2203 Posts |
Posted - 19 Oct 2009 : 09:51:38
|
quote:
lol
What are you laughing at?
Have you set that property in RapidSpellAsYouType as well?
-your feedback is helpful to other users, thank you! |
 |
|
|
Mauro76
Italy
13 Posts |
Posted - 20 Oct 2009 : 00:16:01
|
sorry, for my expression, i didn't want to make any consideration, I wrong to write my first messagge...sorry. I can not eliminate my problem with the char " ' ", when this char is present in the middle of my word, it is wrong for the dictionary.
|
 |
|
|
Mauro76
Italy
13 Posts |
Posted - 20 Oct 2009 : 01:42:20
|
I want to be more precise, the same word in the first case is right, in the second is wrong: l' anno (right for the SpellChecker) l'anno (wrong for the SpellChecker). if the char " ' " is following from blank the word is right. ( L' anno) if the word is one, without blank, it's wrong. (L'anno) |
 |
|
|
Mauro76
Italy
13 Posts |
Posted - 20 Oct 2009 : 02:59:09
|
| The property, than we use, in RapidSpellAsYouType are in default mode. |
 |
|
|
Jim
Canada
2203 Posts |
Posted - 20 Oct 2009 : 09:12:54
|
No problem. It appears our advice was wrong, you should set LanguageParser to FRENCH in both RapidSpellDialog and RapidSpellAsYouType, sorry about that. I know it's Italian language but the French parser is correct for it.
Best Jim
-your feedback is helpful to other users, thank you! |
 |
|
|
Mauro76
Italy
13 Posts |
Posted - 21 Oct 2009 : 03:48:38
|
Thank you very much Now it's all right.
Bye Mauro
I hope I never have to ask you to other aid Thanks |
 |
|
| |
Topic |
|