Sure, you just want to override the method that checks the word, so that it removes the ^ char.
class SChecker : RapidSpellChecker { protected override bool LookUpMainDictionary(string query) {
return base.LookUpMainDictionary(query.Replace("^", "")); }
protected override bool LookUpUserDictionary(string query) {
return base.LookUpUserDictionary(query.Replace("^", "")); }
protected override System.Collections.ArrayList FindSuggestions(string word, bool searchLowerCase) { return base.FindSuggestions(word.Replace("^", ""), searchLowerCase); } }
and then use it like this
rapidSpellAsYouType1.RapidSpellChecker = new SChecker(); or rapidSpellDialog.CheckerEngine = new SChecker();
Best Jim
-your feedback is helpful to other users, thank you! |