From 14d7a4424e4648d293ffbf3ec18ea640270c852b Mon Sep 17 00:00:00 2001 From: Georg Baum Date: Sun, 10 Jul 2005 09:30:07 +0000 Subject: [PATCH] add forgotten comment about jumping cursor git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10161 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/mathed/ChangeLog | 4 ++++ src/mathed/math_gridinset.C | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/src/mathed/ChangeLog b/src/mathed/ChangeLog index 229ecc5778..6939bc1ce3 100644 --- a/src/mathed/ChangeLog +++ b/src/mathed/ChangeLog @@ -1,3 +1,7 @@ +2005-07-10 Georg Baum + + * math_gridinset.C (doDispatch): add comment about jumping cursor + 2005-07-07 Georg Baum * math_gridinset.C (doDispatch): use recordUndoInset when more than diff --git a/src/mathed/math_gridinset.C b/src/mathed/math_gridinset.C index ccb4efade1..56720c61dd 100644 --- a/src/mathed/math_gridinset.C +++ b/src/mathed/math_gridinset.C @@ -1040,6 +1040,11 @@ void MathGridInset::doDispatch(LCursor & cur, FuncRequest & cmd) // insert file functions case LFUN_DELETE_LINE_FORWARD: + // FIXME: We use recordUndoInset when a change reflects more + // than one cell, because recordUndo does not work for + // multiple cells. Unfortunately this puts the cursor in front + // of the inset after undo. This is (especilally for large + // grids) annoying. recordUndoInset(cur); //autocorrect_ = false; //macroModeClose();