
I am trying to attach operations to the Undo/Redo stack - in that one of the operations in my app is a refactoring operation. This updates multiple text ranges, and puts a line indicator against each one with a custom icon. The multiple updates are grouped on the undo/redo stack, and what I would like to be able to do is remove those indicators when an undo is performed, or put them back when a redo is performed.
There is a Tag property on UndoRedo, but not on IUndoableModification, and the Name property is read-only. Is there a property somewhere I'm missing?
Thanks
There is a Tag property on UndoRedo, but not on IUndoableModification, and the Name property is read-only. Is there a property somewhere I'm missing?
Thanks