IVsFinalTextChangeCommitEvents::OnChangesCommitted Method (UInt32, array<TextSpan>^)
Visual Studio 2015
Notifies clients of the last commit gesture to trigger the event and provide the range of text changed.
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Parameters
- dwGestureFlags
-
Type:
System::UInt32
[in] Flags indicating the type of changes made. For a list of dwGestureFlags values, see ChangeCommitGestureFlags.
- ptsChanged
-
Type:
array<Microsoft.VisualStudio.TextManager.Interop::TextSpan>^
[in] Span of text modified.
From textmgr.idl:
HRESULT IVsFinalTextChangeCommitEvents::OnChangesCommitted( [in] DWORD dwGestureFlags, [in] TextSpan *ptsChanged );
This method is used by language services or other parties that have complete control over the editing experience and are the only intended client.
Note |
|---|
When IVsFinalTextChangeCommitEvents is called by the environment it gets fired before other events such as Pretty Listing in Visual Basic. This is to ensure that the language service can update the text before other events change it. |
Show:
