29 references to TaggedTextStyle
Microsoft.CodeAnalysis.Features (29)
Common\TaggedText.cs (5)
39internal TaggedTextStyle Style { get; } 61: this(tag, text, TaggedTextStyle.None, navigationTarget: null, navigationHint: null) 73internal TaggedText(string tag, string text, TaggedTextStyle style, string? navigationTarget, string? navigationHint) 89this IEnumerable<SymbolDisplayPart>? displayParts, TaggedTextStyle style = TaggedTextStyle.None, Func<ISymbol?, string?>? getNavigationHint = null, bool includeNavigationHints = true)
DocumentationComments\AbstractDocumentationCommentFormattingService.cs (14)
72/// item of the stack will be <see cref="TaggedTextStyle.None"/>. 74private readonly Stack<TaggedTextStyle> _styleStack = new(); 79_styleStack.Push(TaggedTextStyle.None); 97internal TaggedTextStyle Style => _styleStack.Peek(); 174public void PushStyle(TaggedTextStyle style) 365state.PushStyle(TaggedTextStyle.Code); 370state.PushStyle(TaggedTextStyle.Code | TaggedTextStyle.PreserveWhitespace); 375state.PushStyle(TaggedTextStyle.Emphasis); 380state.PushStyle(TaggedTextStyle.Strong); 385state.PushStyle(TaggedTextStyle.Underline); 487var style = state.Style; 550if ((state.Style & TaggedTextStyle.PreserveWhitespace) == TaggedTextStyle.PreserveWhitespace)
LanguageServices\SymbolDisplayService\AbstractSymbolDisplayService.AbstractSymbolDescriptionBuilder.cs (1)
431var taggedText = parts.ToTaggedText(TaggedTextStyle.None, _getNavigationHint, includeNavigationHints);
QuickInfo\Presentation\TaggedTextExtensions.cs (9)
254public static QuickInfoClassifiedTextStyle ToClassifiedTextRunStyle(this TaggedTextStyle style) 258if ((style & TaggedTextStyle.Emphasis) == TaggedTextStyle.Emphasis) 263if ((style & TaggedTextStyle.Strong) == TaggedTextStyle.Strong) 268if ((style & TaggedTextStyle.Underline) == TaggedTextStyle.Underline) 273if ((style & TaggedTextStyle.Code) == TaggedTextStyle.Code)