Ver código fonte

HackStudio: Tweak style of C++ identifiers

On second thought, let's not have bold identifiers, as this ended up
making most of the code bold. :^)
Andreas Kling 5 anos atrás
pai
commit
90c81d5c16
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      DevTools/HackStudio/main.cpp

+ 1 - 1
DevTools/HackStudio/main.cpp

@@ -258,7 +258,7 @@ static TextStyle style_for_token_type(CppToken::Type type)
     case CppToken::Type::KnownType:
     case CppToken::Type::KnownType:
         return { Color::from_rgb(0x929200), &Font::default_bold_fixed_width_font() };
         return { Color::from_rgb(0x929200), &Font::default_bold_fixed_width_font() };
     case CppToken::Type::Identifier:
     case CppToken::Type::Identifier:
-        return { Color::from_rgb(0x000092), &Font::default_bold_fixed_width_font() };
+        return { Color::from_rgb(0x000092) };
     case CppToken::Type::DoubleQuotedString:
     case CppToken::Type::DoubleQuotedString:
     case CppToken::Type::SingleQuotedString:
     case CppToken::Type::SingleQuotedString:
     case CppToken::Type::Number:
     case CppToken::Type::Number: