]> 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>
Thu, 18 Jun 2020 13:48:32 +0000 (15:48 +0200)
commit6efe0505dfeae91bc3fada3b416fbc474a33d299
tree7afb67f605f233b3de8569c5f87eb16b6e5b1c4a
parent39a0f74db30abc98c3b1fd2ca13f7d81621b6e2d
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