共用方式為


IVsTextColorState Interface

Definition

Changes the color state of lines in a text buffer.

public interface class IVsTextColorState
public interface class IVsTextColorState
__interface IVsTextColorState
[System.Runtime.InteropServices.Guid("A7A64DE3-9B5C-47F0-ABAD-0AEDBD6CC057")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsTextColorState
[System.Runtime.InteropServices.Guid("A7A64DE3-9B5C-47F0-ABAD-0AEDBD6CC057")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsTextColorState
[<System.Runtime.InteropServices.Guid("A7A64DE3-9B5C-47F0-ABAD-0AEDBD6CC057")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsTextColorState = interface
[<System.Runtime.InteropServices.Guid("A7A64DE3-9B5C-47F0-ABAD-0AEDBD6CC057")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsTextColorState = interface
Public Interface IVsTextColorState
Attributes

Remarks

Implemented by the standard text buffer, consumed by IVsColorizer instances, or any other outside party instigating a change to the color states of lines in a text buffer without necessarily changing the contents of the buffer itself.

Methods

GetColorStateAtStartOfLine(Int32, Int32)

Returns the buffer's cached state for the start of the given line.

ReColorizeLines(Int32, Int32)

Recalculates the color state of lines in a text buffer.

Applies to