ohmjs/ohm-editor

Incorrect styling of some failed expressions

pdubroy opened this issue · 2 comments

Here's a screenshot from the latest version:

screen shot 2016-11-18 at 7 58 01 pm

This is with the arithmetic grammar, and the input 1+2*3-. Here's what it should look like:

screen shot 2016-11-18 at 8 11 36 pm

Note a couple of problems:

  • The top-level Exp succeeded, why is it pink?
  • AddExp_plus, AddExp_minus, and MulExp are missing the disclosure arrows (this is probably related to vbox/isInVBox)

Also, I noticed that we no longer have the [Grow LR] expression.

lilyx commented

Solved by 0edb5f9