ladybird/Userland/Libraries/LibCpp
Max Wipfli ec2f0fc8eb LibCpp: Fix off-by-one error in SyntaxHighlighter
This changes the C++ SyntaxHighlighter to conform to the now-fixed
rendering of syntax highlighting spans in GUI::TextEditor.

Contrary to other syntax highlighters, for this one the change has been
made to the SyntaxHighlighter rather than the Lexer. This is due to the
fact that the Parser also uses the same Lexer. I'm soure there is some
more elegant way to do this, but this patch at least unbreaks the C++
syntax highlighting.
2021-06-05 00:32:28 +04:30
..
Tests LibCpp: Revert change to strace.cpp AST test from bf8fd4c 2021-06-04 00:03:25 +02:00
AST.cpp LibCpp: Consider declarations inside a function's body 2021-06-01 22:20:13 +02:00
AST.h LibCpp: Fix "NumricLiteral" => "NumericLiteral" typo 2021-05-19 23:19:07 +02:00
CMakeLists.txt LibCpp: Move Cpp::Token to a separate file 2021-03-13 10:17:02 +01:00
Lexer.cpp LibCpp: Do not emit empty whitespace token after include statement 2021-06-05 00:32:28 +04:30
Lexer.h LibCpp: Use east const style in Lexer and SyntaxHighlighter 2021-06-05 00:32:28 +04:30
Parser.cpp LibCpp: Modify Token::to_string() to include more information 2021-05-22 15:52:11 +02:00
Parser.h LibCpp: Rename m_definitions=>m_preprocessor_definitions 2021-05-09 20:58:27 +02:00
Preprocessor.cpp LibCpp: Add option in Preprocessor to keep #include's in processed text 2021-05-22 15:52:11 +02:00
Preprocessor.h LibCpp: Add option in Preprocessor to keep #include's in processed text 2021-05-22 15:52:11 +02:00
SyntaxHighlighter.cpp LibCpp: Fix off-by-one error in SyntaxHighlighter 2021-06-05 00:32:28 +04:30
SyntaxHighlighter.h LibCpp: Use east const style in Lexer and SyntaxHighlighter 2021-06-05 00:32:28 +04:30
Token.cpp LibCpp: Modify Token::to_string() to include more information 2021-05-22 15:52:11 +02:00
Token.h LibCpp: Modify Token::to_string() to include more information 2021-05-22 15:52:11 +02:00