]> git.lyx.org Git - features.git/commit
Make math autocorrrect work with more than 2 chars
authorIsaac <isaacOscar@hotmail.com>
Tue, 9 Apr 2019 01:48:46 +0000 (13:48 +1200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Sun, 2 Jun 2019 19:12:12 +0000 (21:12 +0200)
commitbed546d6f6aab7c32ef51d61edd120e18089da53
treecbba3a95442f8276d5495ac5c79dfe863ef674c5
parentd2b6232ce768bd4b5c7c0f7c1d36e1cf583ffb0e
Make math autocorrrect work with more than 2 chars

Currently, math autocorrect allows to transform a couple of characters
to a new one. This patch allows to transform a couple (sequence,
character) to a new character.

No example are implemented right now. One possible idea would be
"--" + ">" => \longrightarrow
src/mathed/InsetMathNest.cpp
src/mathed/MathAutoCorrect.cpp
src/mathed/MathAutoCorrect.h