C# Класс AppKit.TextKit.Formatter.XMLDescriptor

Defines how XML should be colorized using a AppKit.TextKit.Formatter.LanguageFormatter.
This is a simplified, sample format provided as an example only. The HighlightSyntaxRegion method of the AppKit.TextKit.Formatter.LanguageFormatter would need to be modified to properly format XML Keywords as the current version was designed for languages like C#, JavaScript or Visual Basic.
Наследование: LanguageDescriptor
Показать файл Открыть проект

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

Метод Описание
Define ( ) : void

Define this instance.

FormatForPreview ( string text ) : string

Formats the passed in string of text for previewing.

XMLDescriptor ( ) : System

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

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

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

Define this instance.
public Define ( ) : void
Результат void

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

Formats the passed in string of text for previewing.
public FormatForPreview ( string text ) : string
text string Text.
Результат string

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

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