Share via


Source.OnChangeLineText(TextLineChange[], Int32) Method

Definition

Called when a line's text has changed.

public:
 virtual void OnChangeLineText(cli::array <Microsoft::VisualStudio::TextManager::Interop::TextLineChange> ^ lineChange, int last);
public:
 virtual void OnChangeLineText(Platform::Array <Microsoft::VisualStudio::TextManager::Interop::TextLineChange> ^ lineChange, int last);
 virtual void OnChangeLineText(std::Array <Microsoft::VisualStudio::TextManager::Interop::TextLineChange> const & lineChange, int last);
public virtual void OnChangeLineText (Microsoft.VisualStudio.TextManager.Interop.TextLineChange[] lineChange, int last);
abstract member OnChangeLineText : Microsoft.VisualStudio.TextManager.Interop.TextLineChange[] * int -> unit
override this.OnChangeLineText : Microsoft.VisualStudio.TextManager.Interop.TextLineChange[] * int -> unit
Public Overridable Sub OnChangeLineText (lineChange As TextLineChange(), last As Integer)

Parameters

lineChange
TextLineChange[]

The TextLineChange object that describes the line that was changed.

last
Int32

Nonzero if the last line of the source is included in the change; otherwise, this is zero.

Implements

Remarks

This method is called when one or more lines are changed in a single operation.

This method is an implementation of IVsTextLinesEvents' OnChangeLineText method.

The base method adds the changed line span to the dirty spans list.

Applies to