Condividi tramite


ITextBufferUndoManager Interface

Registers the ITextUndoHistory for a text buffer, listens for change events on a text buffer, and adds ITextUndoPrimitive objects to the ITextUndoHistory.

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

Syntax

'Declaration
Public Interface ITextBufferUndoManager
public interface ITextBufferUndoManager
public interface class ITextBufferUndoManager
type ITextBufferUndoManager =  interface end
public interface ITextBufferUndoManager

The ITextBufferUndoManager type exposes the following members.

Properties

  Name Description
Public property TextBuffer Gets the ITextBuffer for which this ITextBufferUndoManager manages undo operations.
Public property TextBufferUndoHistory Gets the undo history for the underlying ITextBuffer.

Top

Methods

  Name Description
Public method UnregisterUndoHistory Unregisters the ITextUndoHistory for the underlying ITextBuffer from the ITextUndoHistoryRegistry.

Top

See Also

Reference

Microsoft.VisualStudio.Text.Operations Namespace