Share via


IVsTextLinesEvents.OnChangeLineAttributes Method

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)

Syntax

'Declaration
Sub OnChangeLineAttributes ( _
    iFirstLine As Integer, _
    iLastLine As Integer _
)
void OnChangeLineAttributes(
    int iFirstLine,
    int iLastLine
)
void OnChangeLineAttributes(
    [InAttribute] int iFirstLine, 
    [InAttribute] int iLastLine
)
abstract OnChangeLineAttributes : 
        iFirstLine:int * 
        iLastLine:int -> unit 
function OnChangeLineAttributes(
    iFirstLine : int, 
    iLastLine : int
)

Parameters

  • iFirstLine
    Type: System.Int32
    [in] First affected line, inclusive.
  • iLastLine
    Type: System.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.

.NET Framework Security

See Also

Reference

IVsTextLinesEvents Interface

Microsoft.VisualStudio.TextManager.Interop Namespace