This topic has not yet been rated - Rate this topic

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)

[GuidAttribute("E55C4E80-A01C-47E8-9E94-D664B94DF6CF")] 
[InterfaceTypeAttribute(1)] 
public interface IVsChangeClusterEvents
/** @attribute GuidAttribute("E55C4E80-A01C-47E8-9E94-D664B94DF6CF") */ 
/** @attribute InterfaceTypeAttribute(1) */ 
public interface IVsChangeClusterEvents
GuidAttribute("E55C4E80-A01C-47E8-9E94-D664B94DF6CF") 
InterfaceTypeAttribute(1) 
public interface IVsChangeClusterEvents

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.

NoteNote

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.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ