Managing Undo and Redo by Using the Legacy API
The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.
The latest version of this topic can be found at 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).
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.
IVsChangeTrackingUndoManager
Provides undo management for an editor that supports multiple views.