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.
파일 보기 프로젝트 열기: xamarin/mac-samples

공개 메소드들

메소드 설명
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