bengolds

Results 19 issues of bengolds

I've run into two more cases where I'd expect the parser to give an error by inserting `Missing`, akin to #28: ``` \\frac{x}{}=y parses as [ 'Multiply', [ 'Divide', 'x',...

bug

There are a few different signs that can be used for multiplication: `*`, `\cdot`, and `\times`. They are inconsistent in how they parse when an argument is missing. ``` x...

bug

The parser doesn't seem to handle Set complement correctly: ![CleanShot 2021-10-18 at 16 44 49](https://user-images.githubusercontent.com/446007/137821150-49b30a15-6a5b-411a-a851-2ce5bcfa3818.png) This appears to be `A^\complement`, which the latex parser interprets as: ```[ 'Power', 'A', '\complement']```...

`replace` doesn't seem to handle wildcards as documented. Here are two cases where it fails, in slightly different ways: # 1 Rewrite "a*x + b*x" as "(a+b)*x" ```javascript const rewriteRule...

Calling `c.serialize` gives a `Maximum call stack size exceeded` error for any input: ```javascript c.serialize(c.parse('8')) c.serialize(c.parse('x')) // etc. -- all crash ``` This is happening on version 0.4.2.

This is a strange one; I haven't been able to make a minimum repro case for this, so I'll just post where I found it. In [one of my programs](https://github.com/bengolds/elm-math/blob/3a49edc7a1280752a3058f72886bda355bd5cf47/src/Latex.elm#L24),...

This should fix #22; previously, the preview was closed on the `BufDelete` event. However, as far as I can tell that isn't called on closing the quick fix window in...

[SSCCE](https://ellie-app.com/embed/8hWwkWcD8bSa1) **Expected behavior:** When using `mouseDown`, I'd expect it to apply the same styles when the user has touched the element. **Actual behavior:** On iOS, you need a `touchstart` event...

unexpected

https://ellie-app.com/5S7gMRYzTTKa1 **Expected behavior** I wouldn't expect having multiple calls to `Element.layout` to break style rules, but in this case, having a layout with `Element.none` seems to wipe out the padding...

has-ellie