Compartilhar via


LanguageService.OnChangesCommitted(UInt32, TextSpan[]) Method

Definition

Called when changes generated by an auto-complete or code snippet expansion operation is committed to the buffer.

protected:
 virtual void OnChangesCommitted(System::UInt32 flags, cli::array <Microsoft::VisualStudio::TextManager::Interop::TextSpan> ^ ptsChanged);
protected:
 virtual void OnChangesCommitted(unsigned int flags, Platform::Array <Microsoft::VisualStudio::TextManager::Interop::TextSpan> ^ ptsChanged);
 virtual void OnChangesCommitted(unsigned int flags, std::Array <Microsoft::VisualStudio::TextManager::Interop::TextSpan> const & ptsChanged);
protected virtual void OnChangesCommitted (uint flags, Microsoft.VisualStudio.TextManager.Interop.TextSpan[] ptsChanged);
abstract member OnChangesCommitted : uint32 * Microsoft.VisualStudio.TextManager.Interop.TextSpan[] -> unit
override this.OnChangesCommitted : uint32 * Microsoft.VisualStudio.TextManager.Interop.TextSpan[] -> unit
Protected Overridable Sub OnChangesCommitted (flags As UInteger, ptsChanged As TextSpan())

Parameters

flags
UInt32

[in] A collection of flags from the ChangeCommitGestureFlags enumeration describing the change.

ptsChanged
TextSpan[]

[in] A single TextSpan describing the range of lines that was changed.

Remarks

This method allows you an opportunity to do something just after a change has been committed to the buffer. Note that parsing is already taken care of through other paths.

The base method does nothing.

Applies to