Source.OnChangeLineAttributes Method

Called when one or more lines' attributes (font, color) have changed.

Namespace:  Microsoft.VisualStudio.Package
Assemblies:   Microsoft.VisualStudio.Package.LanguageService.12.0 (in Microsoft.VisualStudio.Package.LanguageService.12.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.11.0 (in Microsoft.VisualStudio.Package.LanguageService.11.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
  Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)

Syntax

'Declaration
Public Overridable Sub OnChangeLineAttributes ( _
    firstLine As Integer, _
    lastLine As Integer _
)
public virtual void OnChangeLineAttributes(
    int firstLine,
    int lastLine
)
public:
virtual void OnChangeLineAttributes(
    int firstLine, 
    int lastLine
)
abstract OnChangeLineAttributes : 
        firstLine:int * 
        lastLine:int -> unit  
override OnChangeLineAttributes : 
        firstLine:int * 
        lastLine:int -> unit
public function OnChangeLineAttributes(
    firstLine : int, 
    lastLine : int
)

Parameters

  • firstLine
    Type: Int32

    The first line that was changed.

  • lastLine
    Type: Int32

    The last line that was changed.

Implements

IVsTextLinesEvents.OnChangeLineAttributes(Int32, Int32)

Remarks

This method is called when the attributes of one or more lines have been changed. A line's attributes includes the font and the color.

This is an implementation of IVsTextLinesEvents' OnChangeLineAttributes method.

The base method does nothing.

.NET Framework Security

See Also

Reference

Source Class

Microsoft.VisualStudio.Package Namespace