29 references to TaggedTextStyle
Microsoft.CodeAnalysis.Features (29)
Common\TaggedText.cs (5)
39
internal
TaggedTextStyle
Style { get; }
61
: this(tag, text,
TaggedTextStyle
.None, navigationTarget: null, navigationHint: null)
73
internal TaggedText(string tag, string text,
TaggedTextStyle
style, string? navigationTarget, string? navigationHint)
89
this 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"/>.
74
private readonly Stack<
TaggedTextStyle
> _styleStack = new();
79
_styleStack.Push(
TaggedTextStyle
.None);
97
internal
TaggedTextStyle
Style => _styleStack.Peek();
174
public void PushStyle(
TaggedTextStyle
style)
365
state.PushStyle(
TaggedTextStyle
.Code);
370
state.PushStyle(
TaggedTextStyle
.Code |
TaggedTextStyle
.PreserveWhitespace);
375
state.PushStyle(
TaggedTextStyle
.Emphasis);
380
state.PushStyle(
TaggedTextStyle
.Strong);
385
state.PushStyle(
TaggedTextStyle
.Underline);
487
var
style = state.Style;
550
if ((state.Style &
TaggedTextStyle
.PreserveWhitespace) ==
TaggedTextStyle
.PreserveWhitespace)
LanguageServices\SymbolDisplayService\AbstractSymbolDisplayService.AbstractSymbolDescriptionBuilder.cs (1)
431
var taggedText = parts.ToTaggedText(
TaggedTextStyle
.None, _getNavigationHint, includeNavigationHints);
QuickInfo\Presentation\TaggedTextExtensions.cs (9)
254
public static QuickInfoClassifiedTextStyle ToClassifiedTextRunStyle(this
TaggedTextStyle
style)
258
if ((style &
TaggedTextStyle
.Emphasis) ==
TaggedTextStyle
.Emphasis)
263
if ((style &
TaggedTextStyle
.Strong) ==
TaggedTextStyle
.Strong)
268
if ((style &
TaggedTextStyle
.Underline) ==
TaggedTextStyle
.Underline)
273
if ((style &
TaggedTextStyle
.Code) ==
TaggedTextStyle
.Code)