Called when one or more lines' attributes (font, color) have changed.
Namespace: Microsoft.VisualStudio.Package
Assembly: Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
Syntax
'宣言
Public Overridable Sub OnChangeLineAttributes ( _
firstLine As Integer, _
lastLine As Integer _
)
'使用
Dim instance As Source
Dim firstLine As Integer
Dim lastLine As Integer
instance.OnChangeLineAttributes(firstLine, _
lastLine)
public virtual void OnChangeLineAttributes(
int firstLine,
int lastLine
)
public:
virtual void OnChangeLineAttributes(
int firstLine,
int lastLine
)
public function OnChangeLineAttributes(
firstLine : int,
lastLine : int
)
Parameters
firstLine
Type: System.Int32The first line that was changed.
lastLine
Type: System.Int32The 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.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.