protected ClassificationSpan ToClassificationSpan(BlockClassification curSpan, ITextSnapshot snapshot, int start) { return new ClassificationSpan( new SnapshotSpan( snapshot, new Span( curSpan.Span.Start + start, curSpan.Span.Length ) ), GetClassification(curSpan.Classification) ); }
protected ClassificationSpan ToClassificationSpan(BlockClassification curSpan, ITextSnapshot snapshot, int start) { return(new ClassificationSpan( new SnapshotSpan( snapshot, new Span( curSpan.Span.Start + start, curSpan.Span.Length ) ), GetClassification(curSpan.Classification) )); }