ITextBufferUndoManagerProvider Interface
Visual Studio 2015
Provides an ITextBufferUndoManager for a given ITextBuffer.
Assembly: Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)
| Name | Description | |
|---|---|---|
![]() | GetTextBufferUndoManager(ITextBuffer) | Gets the cached ITextBufferUndoManager for the specified ITextBuffer. |
![]() | RemoveTextBufferUndoManager(ITextBuffer) | Removes the ITextBufferUndoManager for the specified text buffer. |
This is a MEF component part, and should be exported with the following attribute:
[Export(NameSource=typeof(ITextBufferUndoManagerProvider))]
This is a cached factory, and only one ITextBufferUndoManager will ever be created for a given ITextBuffer.
Show:
