Exemplo n.º 1
0
        IEnumerable <ITagSpan <IntraTextAdornmentTag> > GetIntraTextAdornmentTagSpans(MarkdownStrikethrough strikethrough)
        {
            if (!_hideDelimiters)
            {
                yield break;
            }

            yield return(MakeIntraTextAdornmentTagSpan(strikethrough.StartDelimiterSpan, () => new UIElement()));

            yield return(MakeIntraTextAdornmentTagSpan(strikethrough.EndDelimiterSpan, () => new UIElement()));
        }
Exemplo n.º 2
0
 IEnumerable <ITagSpan <ClassificationTag> > GetClassificationTagSpans(MarkdownStrikethrough strikethrough)
 {
     yield return(MakeClassificationTagSpan(strikethrough.Span, ClassificationTypes.Strikethrough));
 }