Source.OnChangeLineText(TextLineChange[], Int32) Method
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.
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.