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

Undo/Redo don't work

rated by 0 users
This post has 1 Reply | 2 Followers

Not Ranked
Posts 1
paulchan Posted: Wed, Sep 17 2008 3:49 PM

Hi,

I downloaded the trial version of Winform SpellCheck.  On the C1SpellChecker component demo page, neither the undo/redo or the keyboard shortcut (ctrl-z/ctrl-y) work.  Is undo/redo supported with the C1SpellChecker component?

 Paul

Top 10 Contributor
Posts 2,707

The short answer is no, undo/redo are not supported when the C1SpellChecker is used with the TextBox or RichTextBox controls.

The reason is that the C1SpellChecker applies corrections programmatically, and most editors do not include such actions in their undo/redo stacks. Although I haven't tried, I suspect the same is true for all spell-checkers. To support undo/redo in the regular TextBox controls, they would have to apply corrections using the SendKeys commands to simulate user keystrokes.

Page 1 of 1 (2 items) | RSS
Contact ComponentOne: 1.800.858.2739 ©1987-2010 ComponentOne LLC All Rights Reserved.