Managing Undo and Redo by Using the Legacy API
Editors must support undo operations that let users reverse their recent changes when they modify code. Most editors implemented under Visual Studio and the .NET Framework can have undo support automatically provided by the integrated development environment (IDE).
In This Section
How to: Implement Undo Management
Provides undo capability for editors with single or multiple views.How to: Clear the Undo Stack
Describes how to clear an undo stack.How to: Use Linked Undo Management
Incorporates linked undo management into your editor.
Reference
- IVsChangeTrackingUndoManager
Provides undo management for an editor that supports multiple views.