C# Класс 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.
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

KeywordDescriptor() публичный Метод

Initializes a new instance of the AppKit.TextKit.Formatter.KeywordDescriptor class.
public KeywordDescriptor ( ) : System
Результат System

KeywordDescriptor() публичный Метод

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.
Результат System