Source.Recolorize(Int32, Int32) 方法

定义

更新指定范围内的语法突出显示。

public:
 void Recolorize(int startLine, int endLine);
public:
 void Recolorize(int startLine, int endLine);
void Recolorize(int startLine, int endLine);
public void Recolorize (int startLine, int endLine);
member this.Recolorize : int * int -> unit
Public Sub Recolorize (startLine As Integer, endLine As Integer)

参数

startLine
Int32

要更新的第一行。

endLine
Int32

要更新的最后一行。

注解

此方法 ReColorizeLines 在接口 (上调用方法,该方法 IVsTextColorState 是从 IVsTextLines 传递给 Source 类构造函数) 的对象获取的。

如果 startLine 为-1 且 endLine 为-1,则更新源中所有行的颜色。

适用于