C# Класс XSharpColorizer.XSharpClassifier

Classifier that classifies all text as an instance of the "XSharpClassifier" classification type.
Наследование: IClassifier, IDisposable
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
GetClassificationSpans ( SnapshotSpan span ) : IList

Gets all the ClassificationSpan objects that intersect with the given range of text.

This method scans the given SnapshotSpan for potential matches for this classification. In this instance, it classifies everything and returns each span as a new ClassificationSpan.

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

Приватные методы

Метод Описание
Bw_DoWork ( object sender, DoWorkEventArgs e ) : void
Bw_RunWorkerCompleted ( object sender, RunWorkerCompletedEventArgs e ) : void
GetColorizer ( ITextBuffer buffer, IClassificationTypeRegistryService registry, ITextDocumentFactoryService factory ) : XSharpClassifier
IDisposable ( ) : void
Parse ( ITextSnapshot snapshot ) : void
XSharpClassifier ( ITextBuffer buffer, IClassificationTypeRegistryService registry, ITextDocumentFactoryService factory ) : System

Initializes a new instance of the XSharpClassifier class.

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

Dispose() защищенный Метод

protected Dispose ( bool disposing ) : void
disposing bool
Результат void

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

Gets all the ClassificationSpan objects that intersect with the given range of text.
This method scans the given SnapshotSpan for potential matches for this classification. In this instance, it classifies everything and returns each span as a new ClassificationSpan.
public GetClassificationSpans ( SnapshotSpan span ) : IList
span SnapshotSpan The span currently being classified.
Результат IList