C# 클래스 XSharpColorizer.XSharpClassifier

Classifier that classifies all text as an instance of the "XSharpClassifier" classification type.
상속: IClassifier, IDisposable
파일 보기 프로젝트 열기: X-Sharp/XSharpPublic 1 사용 예제들

공개 메소드들

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