LanguageService.OnChangesCommitted(UInt32, TextSpan[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
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.