Make syntax highlight to work ok on white background

This commit is contained in:
Alexey Milovidov 2020-06-07 00:20:17 +03:00
parent 3cb2ec6f8f
commit 9eacaf648b
2 changed files with 22 additions and 22 deletions

2
contrib/replxx vendored

@ -1 +1 @@
Subproject commit f1332626639d6492eaf170758642da14fbbda7bf
Subproject commit 7b491c63e1db78ff5d6ad65036c41c0183f8db9f

View File

@ -375,28 +375,28 @@ private:
{ TokenType::ClosingRoundBracket, Replxx::Color::BROWN },
{ TokenType::OpeningSquareBracket, Replxx::Color::BROWN },
{ TokenType::ClosingSquareBracket, Replxx::Color::BROWN },
{ TokenType::OpeningCurlyBrace, Replxx::Color::WHITE },
{ TokenType::ClosingCurlyBrace, Replxx::Color::WHITE },
{ TokenType::OpeningCurlyBrace, Replxx::Color::INTENSE },
{ TokenType::ClosingCurlyBrace, Replxx::Color::INTENSE },
{ TokenType::Comma, Replxx::Color::WHITE },
{ TokenType::Semicolon, Replxx::Color::WHITE },
{ TokenType::Dot, Replxx::Color::WHITE },
{ TokenType::Asterisk, Replxx::Color::WHITE },
{ TokenType::Plus, Replxx::Color::WHITE },
{ TokenType::Minus, Replxx::Color::WHITE },
{ TokenType::Slash, Replxx::Color::WHITE },
{ TokenType::Percent, Replxx::Color::WHITE },
{ TokenType::Arrow, Replxx::Color::WHITE },
{ TokenType::QuestionMark, Replxx::Color::WHITE },
{ TokenType::Colon, Replxx::Color::WHITE },
{ TokenType::Equals, Replxx::Color::WHITE },
{ TokenType::NotEquals, Replxx::Color::WHITE },
{ TokenType::Less, Replxx::Color::WHITE },
{ TokenType::Greater, Replxx::Color::WHITE },
{ TokenType::LessOrEquals, Replxx::Color::WHITE },
{ TokenType::GreaterOrEquals, Replxx::Color::WHITE },
{ TokenType::Concatenation, Replxx::Color::WHITE },
{ TokenType::At, Replxx::Color::WHITE },
{ TokenType::Comma, Replxx::Color::INTENSE },
{ TokenType::Semicolon, Replxx::Color::INTENSE },
{ TokenType::Dot, Replxx::Color::INTENSE },
{ TokenType::Asterisk, Replxx::Color::INTENSE },
{ TokenType::Plus, Replxx::Color::INTENSE },
{ TokenType::Minus, Replxx::Color::INTENSE },
{ TokenType::Slash, Replxx::Color::INTENSE },
{ TokenType::Percent, Replxx::Color::INTENSE },
{ TokenType::Arrow, Replxx::Color::INTENSE },
{ TokenType::QuestionMark, Replxx::Color::INTENSE },
{ TokenType::Colon, Replxx::Color::INTENSE },
{ TokenType::Equals, Replxx::Color::INTENSE },
{ TokenType::NotEquals, Replxx::Color::INTENSE },
{ TokenType::Less, Replxx::Color::INTENSE },
{ TokenType::Greater, Replxx::Color::INTENSE },
{ TokenType::LessOrEquals, Replxx::Color::INTENSE },
{ TokenType::GreaterOrEquals, Replxx::Color::INTENSE },
{ TokenType::Concatenation, Replxx::Color::INTENSE },
{ TokenType::At, Replxx::Color::INTENSE },
{ TokenType::EndOfStream, Replxx::Color::DEFAULT },