IEnumerable <ITagSpan <IntraTextAdornmentTag> > GetIntraTextAdornmentTagSpans(MarkdownStrikethrough strikethrough) { if (!_hideDelimiters) { yield break; } yield return(MakeIntraTextAdornmentTagSpan(strikethrough.StartDelimiterSpan, () => new UIElement())); yield return(MakeIntraTextAdornmentTagSpan(strikethrough.EndDelimiterSpan, () => new UIElement())); }
IEnumerable <ITagSpan <ClassificationTag> > GetClassificationTagSpans(MarkdownStrikethrough strikethrough) { yield return(MakeClassificationTagSpan(strikethrough.Span, ClassificationTypes.Strikethrough)); }