]> git.lyx.org Git - features.git/commit
Disable InsetMathKern with invalid lengths (#10539)
authorGuillaume Munch <gm@lyx.org>
Sun, 5 Feb 2017 10:04:41 +0000 (11:04 +0100)
committerGuillaume Munch <gm@lyx.org>
Sat, 11 Feb 2017 20:52:09 +0000 (21:52 +0100)
commit527cc8ca9c829cbe227667c5c2a57ebce2199606
tree8dd02a0c96834db1d1f3d52c9389939784ea0d95
parentff0d96c3719bc46b1f61a0e858a1dae039cc8f0c
Disable InsetMathKern with invalid lengths (#10539)

From now on \kern and \mkern remain as ERT as long as the length is invalid.

Fixes #10539 (regression at 10c8d51b).

The only way to produce an InsetMathKern now is via parsing (i.e. file opening
or copy-paste). This is because there has never been any sensible way to input a
valid InsetMathKern, but this is another issue.
src/mathed/MathFactory.cpp
src/mathed/MathParser.cpp