次の方法で共有


IVsTextColorState Interface

Changes the color state of lines in a text buffer.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

Syntax

'宣言
<GuidAttribute("A7A64DE3-9B5C-47F0-ABAD-0AEDBD6CC057")> _
<InterfaceTypeAttribute()> _
Public Interface IVsTextColorState
[GuidAttribute("A7A64DE3-9B5C-47F0-ABAD-0AEDBD6CC057")]
[InterfaceTypeAttribute()]
public interface IVsTextColorState
[GuidAttribute(L"A7A64DE3-9B5C-47F0-ABAD-0AEDBD6CC057")]
[InterfaceTypeAttribute()]
public interface class IVsTextColorState
[<GuidAttribute("A7A64DE3-9B5C-47F0-ABAD-0AEDBD6CC057")>]
[<InterfaceTypeAttribute()>]
type IVsTextColorState =  interface end
public interface IVsTextColorState

The IVsTextColorState type exposes the following members.

Methods

  Name Description
Public method GetColorStateAtStartOfLine Returns the buffer's cached state for the start of the given line.
Public method ReColorizeLines Recalculates the color state of lines in a text buffer.

Top

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.

See Also

Reference

Microsoft.VisualStudio.TextManager.Interop Namespace