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