We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d0f9989 commit d9c666fCopy full SHA for d9c666f
compiler/src/dotty/tools/dotc/printing/SyntaxHighlighting.scala
@@ -107,9 +107,11 @@ object SyntaxHighlighting {
107
case tree: ValOrDefDef =>
108
highlightAnnotations(tree)
109
highlightPosition(tree.nameSpan, ValDefColor)
110
+ highlightPosition(tree.endSpan, ValDefColor)
111
case tree: MemberDef /* ModuleDef | TypeDef */ =>
112
113
highlightPosition(tree.nameSpan, TypeColor)
114
+ highlightPosition(tree.endSpan, TypeColor)
115
case tree: Ident if tree.isType =>
116
highlightPosition(tree.span, TypeColor)
117
case _: TypeTree =>
0 commit comments