]> git.lyx.org Git - lyx.git/commit
Simpler fix for undo support when entering \hline in an equation
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Tue, 17 Apr 2012 08:55:59 +0000 (10:55 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Tue, 17 Apr 2012 20:21:45 +0000 (22:21 +0200)
commit9059843121c419e7de564005fb72e34cc3a48ad1
treecab2d9d3ecb25599f02e824c6732c9ab2b9e0b1a
parent201dcc8ec3da924294ade6aefe801cf3bb3f2dc6
Simpler fix for undo support when entering \hline in an equation

 * Avoid undo step when using backspace in macro mode
 * Use recordUndoInset when entering macro mode (if one enters something like \hline, the outer inset itself will be modified)
 * Use recordUndoInset when pasting in an INsetMathGrid (same reason as above)
src/mathed/InsetMathGrid.cpp
src/mathed/InsetMathNest.cpp