다음을 통해 공유


TextViewChangedArgs Constructor

Definition

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.

Applies to