C1 Community
ComponentOne Community is a free source for developers and help authors to collaborate and communicate.

Spell Checker Auto Replace

rated by 0 users
This post has 3 Replies | 1 Follower

Not Ranked
Posts 8
BilePile Posted: Thu, Jun 04 2009 2:59 PM

Is there some trick to getting the Auto Replace to work?  I am using the C1RichTextBox, and I have added the following code:

WordDictionary arl = c1SpellChecker1.AutoReplaceList;

arl.Clear();

arl.Add(
"teh", "the");

arl.Add("eror", "error");

But it seems to have not effect.  When I type "teh", it underlines it, but I am expecting the word to be auto-replaced with "the".

Top 10 Contributor
Posts 1,009
C1_MaxM replied on Thu, Jun 04 2009 3:28 PM
Sorry, the auto replace list is not currently supported by the RichTextBox. We'll add it to our todo list.
Not Ranked
Posts 8
BilePile replied on Thu, Jun 04 2009 4:49 PM

Thanks.  Are there any controls that do work with the Auto Replace?

Top 10 Contributor
Posts 1,009
C1_MaxM replied on Thu, Jun 04 2009 5:05 PM
No, the auto replace list is there because the spell checker was ported from another C1 control suite. But there is currently no control in Silverlight that supports it.
Page 1 of 1 (4 items) | RSS
Contact ComponentOne: 1.800.858.2739 ©1987-2009 ComponentOne LLC All Rights Reserved.