IVsTextLinesEvents::OnChangeLineAttributes Method (Int32, Int32)

 

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

Namespace:   Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

void OnChangeLineAttributes(
	int iFirstLine,
	int iLastLine
)

Parameters

iFirstLine
Type: System::Int32

[in] First affected line, inclusive.

iLastLine
Type: System::Int32

[in] Last affected line, inclusive.

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.

Return to top
Show: