Share via


IVsTextLinesEvents.OnChangeLineAttributes(Int32, Int32) Method

Definition

Notifies the client when the text line attributes have been changed.

public:
 void OnChangeLineAttributes(int iFirstLine, int iLastLine);
public:
 void OnChangeLineAttributes(int iFirstLine, int iLastLine);
void OnChangeLineAttributes(int iFirstLine, int iLastLine);
public void OnChangeLineAttributes (int iFirstLine, int iLastLine);
abstract member OnChangeLineAttributes : int * int -> unit
Public Sub OnChangeLineAttributes (iFirstLine As Integer, iLastLine As Integer)

Parameters

iFirstLine
Int32

[in] First affected line, inclusive.

iLastLine
Int32

[in] Last affected line, inclusive.

Remarks

COM Signature

From textmgr.idl:

HRESULT IVsTextLinesEvents::OnChangeLineAttributes(  
   [in] long iFirstLine,  
   [in] long iLastLine  
);  

This event is called in any instance where changes in text result in changes to text line attributes, such as syntax and marker coloring. Text changes can occur both programmatically and through user action.

Applies to