C# Class XSharpColorizer.XSharpClassifier

Classifier that classifies all text as an instance of the "XSharpClassifier" classification type.
Inheritance: IClassifier, IDisposable
Afficher le fichier Open project: X-Sharp/XSharpPublic Class Usage Examples

Méthodes publiques

Méthode Description
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.

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Private Methods

Méthode Description
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.

Method Details

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

GetClassificationSpans() public méthode

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.
Résultat IList