TextViewChangedArgs Constructor
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.
Creates a new instance of TextViewChangedArgs.
public TextViewChangedArgs (Microsoft.VisualStudio.Extensibility.Editor.ITextViewSnapshot beforeTextView, Microsoft.VisualStudio.Extensibility.Editor.ITextViewSnapshot afterTextView, System.Collections.Generic.IReadOnlyList<Microsoft.VisualStudio.Extensibility.Editor.TextEdit> edits);
new Microsoft.VisualStudio.Extensibility.Editor.TextViewChangedArgs : Microsoft.VisualStudio.Extensibility.Editor.ITextViewSnapshot * Microsoft.VisualStudio.Extensibility.Editor.ITextViewSnapshot * System.Collections.Generic.IReadOnlyList<Microsoft.VisualStudio.Extensibility.Editor.TextEdit> -> Microsoft.VisualStudio.Extensibility.Editor.TextViewChangedArgs
Public Sub New (beforeTextView As ITextViewSnapshot, afterTextView As ITextViewSnapshot, edits As IReadOnlyList(Of TextEdit))
Parameters
- beforeTextView
- ITextViewSnapshot
The state of the ITextViewSnapshot before the change.
- afterTextView
- ITextViewSnapshot
The state of the ITextViewSnapshot after.
- edits
- IReadOnlyList<TextEdit>
A list of changes applied to the text document.