Hi
Im wondering how to implement undo redo functionality with a TextArea. I already have an undoredo framework functionality working, now I have two questions.
- When do I start/stop a new undo/redo command, eg when a user hits undo, how far back do I go.
- How do I implement this(1.) in a normal TextArea
My thinking: I thinking that I should create a new undo command, when anything but a alphanumber+space is hit. To do this I would use the keyDown event and test if the key is alpha num if it is not I will reset the command.
Sound good?