ITextBufferUndoManagerProvider Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides an ITextBufferUndoManager for a given ITextBuffer. This is a cached factory, and only one ITextBufferUndoManager will ever be created for a given ITextBuffer.
public interface class ITextBufferUndoManagerProvider
public interface class ITextBufferUndoManagerProvider
__interface ITextBufferUndoManagerProvider
public interface ITextBufferUndoManagerProvider
type ITextBufferUndoManagerProvider = interface
Public Interface ITextBufferUndoManagerProvider
Remarks
This is a MEF component part, and should be exported with the following attribute: [Export(typeof(ITextBufferUndoManagerProvider))]
Methods
GetTextBufferUndoManager(ITextBuffer) |
Gets the ITextBufferUndoManager for the specified ITextBuffer. If no undo manager has been created for this text buffer, a new one is created. |
RemoveTextBufferUndoManager(ITextBuffer) |
Removes the ITextBufferUndoManager, if any, from |