Compartilhar via


IVsUndoRedoClusterWithCommitEvents.OnUndoRedoClusterClosingWithCommitGesture Method

Fires when an undo or redo cluster is closing.

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

Syntax

'Declaração
Sub OnUndoRedoClusterClosingWithCommitGesture ( _
    dwGestureFlags As UInteger, _
    ptsChanged As TextSpan() _
)
void OnUndoRedoClusterClosingWithCommitGesture(
    uint dwGestureFlags,
    TextSpan[] ptsChanged
)
void OnUndoRedoClusterClosingWithCommitGesture(
    [InAttribute] unsigned int dwGestureFlags, 
    [InAttribute] array<TextSpan>^ ptsChanged
)
abstract OnUndoRedoClusterClosingWithCommitGesture : 
        dwGestureFlags:uint32 * 
        ptsChanged:TextSpan[] -> unit 
function OnUndoRedoClusterClosingWithCommitGesture(
    dwGestureFlags : uint, 
    ptsChanged : TextSpan[]
)

Parameters

  • dwGestureFlags
    Type: System.UInt32
    [in] Flags for the commit gesture.

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
);

.NET Framework Security

See Also

Reference

IVsUndoRedoClusterWithCommitEvents Interface

Microsoft.VisualStudio.TextManager.Interop Namespace