Exemple #1
0
 public IEnumerable <ITagSpan <ClassificationTag> > GetTags(NormalizedSnapshotSpanCollection spans)
 {
     return((
                from span in spans.AsEnumerable()
                from mappingTag in _aggregator.GetTags(span)
                where IsCommentSpan(mappingTag)
                let normalizedSnapshotSpans = mappingTag.Span.GetSpans(span.Snapshot)
                                              from tagSpan in GetTagSpansFromSnapshotSpans(normalizedSnapshotSpans)
                                              select tagSpan
                ).ToList());
 }