Source::OnChangeLineText Method (array<TextLineChange>^, Int32)

 

Called when a line's text has changed.

Namespace:   Microsoft.VisualStudio.Package
Assembly:  Microsoft.VisualStudio.Package.LanguageService.14.0 (in Microsoft.VisualStudio.Package.LanguageService.14.0.dll)

public:
virtual void OnChangeLineText(
	array<TextLineChange>^ lineChange,
	int last
)

Parameters

lineChange
Type: array<Microsoft.VisualStudio.TextManager.Interop::TextLineChange>^

The TextLineChange object that describes the line that was changed.

last
Type: System::Int32

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

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.

Return to top
Show: