IVsUndoRedoClusterWithCommitEvents::OnUndoRedoClusterClosingWithCommitGesture Method (UInt32, array<TextSpan>^)
Visual Studio 2015
Fires when an undo or redo cluster is closing.
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
void OnUndoRedoClusterClosingWithCommitGesture( unsigned int dwGestureFlags, array<TextSpan>^ ptsChanged )
Parameters
- dwGestureFlags
-
Type:
System::UInt32
[in] Flags for the commit gesture.
- ptsChanged
-
Type:
array<Microsoft.VisualStudio.TextManager.Interop::TextSpan>^
[in] The text span that changed.
An intervening commit gesture must have occurred while the undo or redo cluster was open. Clients are explicitly forbidden from modifying the buffer in response to this event.
From textmgr.idl:
HRESULT IVsUndoRedoClusterWithCommitEvents::OnUndoRedoClusterClosingWithCommitGesture( [in] DWORD dwGestureFlags, [in] TextSpan *ptsChanged );
Show: