Partilhar via


Método IVsFinalTextChangeCommitEvents.OnChangesCommitted

Notifica os clientes do gesto de confirmação na último disparar o evento e fornecem o intervalo de texto alterado.

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

Sintaxe

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

Parâmetros

  • dwGestureFlags
    Tipo: UInt32

    [in] Sinalizadores indicando o tipo de alterações feitas. Para obter uma lista de dwGestureFlags valores, consulte ChangeCommitGestureFlags.

Comentários

COM assinatura

De textmgr.idl:

HRESULT IVsFinalTextChangeCommitEvents::OnChangesCommitted(
   [in] DWORD dwGestureFlags,
   [in] TextSpan *ptsChanged
);

Este método é usado por serviços de linguagem ou outras partes que tem controle completo sobre a experiência de edição e são o único cliente pretendido.

Dica

Quando IVsFinalTextChangeCommitEvents é chamado pelo ambiente é demitido antes de outros eventos, como Bastante listando em Visual Basic.Isso é para garantir que o serviço de linguagem pode atualizar o texto antes de outros eventos alteração-lo.

Segurança do .NET Framework

Consulte também

Referência

IVsFinalTextChangeCommitEvents Interface

Namespace Microsoft.VisualStudio.TextManager.Interop