Partager via


Source.Recolorize(Int32, Int32) Method

Definition

Updates the syntax highlighting on the specified range of lines.

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)

Parameters

startLine
Int32

The first line to update.

endLine
Int32

The last line to update.

Remarks

This method calls the ReColorizeLines method on the IVsTextColorState interface (which was obtained from the IVsTextLines object passed to the Source class constructor).

If startLine is -1 and endLine is -1, then update the color on all lines in the source.

Applies to