Partager via


IVsUndoRedoClusterWithCommitEvents.OnUndoRedoClusterClosingWithCommitGesture Method

Definition

Fires when an undo or redo cluster is closing.

public:
 void OnUndoRedoClusterClosingWithCommitGesture(System::UInt32 dwGestureFlags, cli::array <Microsoft::VisualStudio::TextManager::Interop::TextSpan> ^ ptsChanged);
public:
 void OnUndoRedoClusterClosingWithCommitGesture(unsigned int dwGestureFlags, Platform::Array <Microsoft::VisualStudio::TextManager::Interop::TextSpan> ^ ptsChanged);
void OnUndoRedoClusterClosingWithCommitGesture(unsigned int dwGestureFlags, std::Array <Microsoft::VisualStudio::TextManager::Interop::TextSpan> const & ptsChanged);
public void OnUndoRedoClusterClosingWithCommitGesture (uint dwGestureFlags, Microsoft.VisualStudio.TextManager.Interop.TextSpan[] ptsChanged);
abstract member OnUndoRedoClusterClosingWithCommitGesture : uint32 * Microsoft.VisualStudio.TextManager.Interop.TextSpan[] -> unit
Public Sub OnUndoRedoClusterClosingWithCommitGesture (dwGestureFlags As UInteger, ptsChanged As TextSpan())

Parameters

dwGestureFlags
UInt32

[in] Flags for the commit gesture.

ptsChanged
TextSpan[]

[in] The text span that changed.

Remarks

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.

COM Signature

From textmgr.idl:

HRESULT IVsUndoRedoClusterWithCommitEvents::OnUndoRedoClusterClosingWithCommitGesture(  
   [in] DWORD dwGestureFlags,  
   [in] TextSpan *ptsChanged  
);  

Applies to