MikaelMayer / Sketch-n-Script

The official repository for issues about Reversible Formulas - Sketch-n-Script, the Google docs add-on
1 stars 1 forks source link

[FormulasForGoogleDocs] Highlighted formulas continues after line break #3

Closed Arglanir closed 5 years ago

Arglanir commented 5 years ago

If I select "Reveal formula under cursor" or "Reveal formulas, formulas are revealed and highlighted in orange. If I edit a formula and press [Enter], I go to the following line and entered text continues to be highlighted in orange. If I then select "Evaluate formulas", the formulas are evaluated and back in the default background color, but the entered text outside the formulas highlighted in orange keeps its highlighting.

Maybe detect when in a formula the end of the formula (line feed or space), in order to stop the highlignting beforehand?

MikaelMayer commented 5 years ago

Fixed in the next version.