What kinds of process can be part of an undo group?
Posted: Wed Dec 12, 2007 1:56 pm
I noticed from this post:
<http://www.trichview.com/forums/viewtop ... light=undo>
that "direct assignment to StyleNo cannot be undone". I'm trying to create systems for undoing complex sequences of actions, so I'd like to know exactly what actions can be part of an UndoGroup, and which can't. For instance, I have an action which:
Cheers,
Martin[/code]
<http://www.trichview.com/forums/viewtop ... light=undo>
that "direct assignment to StyleNo cannot be undone". I'm trying to create systems for undoing complex sequences of actions, so I'd like to know exactly what actions can be part of an UndoGroup, and which can't. For instance, I have an action which:
- deletes an item in a TRichViewEdit
creates a new style for another item, and applies it (by directly assigning the style number)
repeats the above step for zero or more preceding items
Cheers,
Martin[/code]