mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-15 00:49:55 +00:00
Syntax highlighting from parser
.. oopsie on binary expression.
NOTE: it may be better to highlight tokens rather than
via the parser as errors make it impossible to
highlight the "intention" of the user
This commit is contained in:
@@ -265,6 +265,7 @@ void Leaf::color(Leaf *leaf, QTextDocument *document)
|
||||
case Leaf::BinaryOperation :
|
||||
leaf->color(leaf->lvalue.l, document);
|
||||
leaf->color(leaf->rvalue.l, document);
|
||||
return;
|
||||
break;
|
||||
|
||||
case Leaf::Function :
|
||||
|
||||
Reference in New Issue
Block a user