共用方式為


Colorizer Members

Include Protected Members
Include Inherited Members

This class implements the IVsColorizer interface and is used to support syntax highlighting in an editor.

The Colorizer type exposes the following members.

Constructors

  Name Description
Public method Colorizer Initializes the Colorizer class.

Top

Methods

  Name Description
Public method CloseColorizer Called when the colorizer is disposed of.
Public method ColorizeLine Obtains color and font attribute information for each character in the specified line of text.
Public method Dispose Disposes the object.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Called when the object is about to be destroyed. (Overrides Object.Finalize().)
Public method GetColorInfo Returns the parsing state at the end of the line without returning any colorization information.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetLineInfo Returns color information about the specified line.
Public method GetStartState Returns the initial parsing state.
Public method GetStateAtEndOfLine Returns the parsing state at the end of the specified line.
Public method GetStateMaintenanceFlag Called to determine if the colorizer requires per line state management.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Resume Called to resume use of the colorizer.
Public method Suspend Called to suspend use of the colorizer.
Public method ToString Returns a String that represents the current Object. (Inherited from Object.)

Top

Properties

  Name Description
Public property Scanner Returns the scanner being used.

Top

See Also

Reference

Colorizer Class

Microsoft.VisualStudio.Package Namespace