Compartilhar via


ITextBufferUndoManagerProvider Interface

Definition

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 textBuffer.

Applies to