コード例 #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()));
        }
コード例 #2
0
 IEnumerable <ITagSpan <ClassificationTag> > GetClassificationTagSpans(MarkdownStrikethrough strikethrough)
 {
     yield return(MakeClassificationTagSpan(strikethrough.Span, ClassificationTypes.Strikethrough));
 }