Export (0) Print
Expand All

ITextBufferUndoManagerProvider Interface

Provides an ITextBufferUndoManager for a given ITextBuffer.

Namespace:  Microsoft.VisualStudio.Text.Operations
Assembly:  Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)

public interface ITextBufferUndoManagerProvider

The ITextBufferUndoManagerProvider type exposes the following members.

Public methodGetTextBufferUndoManagerGets the cached ITextBufferUndoManager for the specified ITextBuffer.
Public methodRemoveTextBufferUndoManagerRemoves the ITextBufferUndoManager for the specified text buffer.

This is a MEF component part, and should be exported with the following attribute:


This is a cached factory, and only one ITextBufferUndoManager will ever be created for a given ITextBuffer.

© 2014 Microsoft