예제 #1
0
        IEnumerable <ITagSpan <IntraTextAdornmentTag> > GetIntraTextAdornmentTagSpans(MarkdownStrongEmphasis strongEmphasis)
        {
            if (!_hideDelimiters)
            {
                yield break;
            }

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

            yield return(MakeIntraTextAdornmentTagSpan(strongEmphasis.EndDelimiterSpan, () => new UIElement()));
        }
예제 #2
0
 IEnumerable <ITagSpan <ClassificationTag> > GetClassificationTagSpans(MarkdownStrongEmphasis strongEmphasis)
 {
     yield return(MakeClassificationTagSpan(strongEmphasis.Span, ClassificationTypes.StrongEmphasis));
 }