PlanHighlighter

Highlights the plan language of libparser's lexer: its keywords, node kinds, constants, numbers, strings, operators and the characters that the lexer rejects.

Inherits TokenizedHighlighter
Group plan

Declared in src/libs/libplan/plan/editor/PlanHighlighter.hpp.

Detailed description

A TokenizedHighlighter of syntax::Language::Plan (log-color §LGC-D-10, parity row LGC-36). 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.

In this section