mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
make LFUN_CUT in mathed undoable (bug 2041)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10485 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
65224675ce
commit
97ca98f0b7
@ -1,5 +1,8 @@
|
||||
2005-09-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
|
||||
|
||||
* math_nestinset.C (doDispatch): record LFUN_CUT in undo stack
|
||||
(fixes bug 2041).
|
||||
|
||||
* math_data.C (draw): add nested insets to the coord cache
|
||||
(fixes the major part of bug 1918).
|
||||
|
||||
|
@ -423,6 +423,7 @@ void MathNestInset::doDispatch(LCursor & cur, FuncRequest & cmd)
|
||||
}
|
||||
|
||||
case LFUN_CUT:
|
||||
recordUndo(cur);
|
||||
cutSelection(cur, true, true);
|
||||
cur.message(_("Cut"));
|
||||
// Prevent stale position >= size crash
|
||||
|
Loading…
Reference in New Issue
Block a user