IVsChangeClusterEvents Interface


Bracket a series of changes from an undo manager.

Namespace:   Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

public interface IVsChangeClusterEvents


Called when a change event is closing in the undo manager.


Called when a change event is opening in the undo manager.

IVsChangeClusterEvents is used to bracket a series of changes from an undo manager. A cluster is a series of edits that is grouped into an undo action. To obtain an IVsChangeClusterEvents, QueryInterface an undo manager for IConnectionPointContainer.


IVsChangeClusterEvents should be used only in rare circumstances. Listening to this event set imposes nontrivial overhead for every modification made to a text buffer. IVsPreliminaryTextChangeCommitEvents (which is built on top of this event) should be able to address the needs of most clients without needing to listen to IVsChangeClusterEvents.

Return to top