CppSyntaxHighlighter
Highlights C++ and Arduino code: keywords, types, Arduino functions, numbers, strings, comments and the preprocessor.
| Inherits | TokenizedHighlighter |
| Group | widgets |
Declared in src/libs/libwidgets/widgets/CppSyntaxHighlighter.hpp.
Detailed description
A TokenizedHighlighter of syntax::Language::Cpp (log-color §LGC-D-10, parity row LGC-31). The tokenizer reads each line once, from left to right, and testSyntax holds it to the spans of a corpus. The colors come from the syntax colors of the current SemanticPalette.