C# Class AppKit.TextKit.Formatter.KeywordDescriptor

The AppKit.TextKit.Formatter.KeywordDescriptor class defines a keyword that will be set to a specific color when used with a AppKit.TextKit.Formatter.LanguageFormatter to do syntax highlighting in a NSTextView.
Datei anzeigen Open project: xamarin/mac-samples

Public Methods

Method Description
KeywordDescriptor ( ) : System

Initializes a new instance of the AppKit.TextKit.Formatter.KeywordDescriptor class.

KeywordDescriptor ( KeywordType type, NSColor color, string toolTip ) : System

Initializes a new instance of the AppKit.TextKit.Formatter.KeywordDescriptor class.

Method Details

KeywordDescriptor() public method

Initializes a new instance of the AppKit.TextKit.Formatter.KeywordDescriptor class.
public KeywordDescriptor ( ) : System
return System

KeywordDescriptor() public method

Initializes a new instance of the AppKit.TextKit.Formatter.KeywordDescriptor class.
public KeywordDescriptor ( KeywordType type, NSColor color, string toolTip ) : System
type KeywordType Specifies the KeywordType.
color NSColor Specifies the NSColor that this keyword will be set to.
toolTip string Defines the tool tip for this keyword.
return System