add forgotten comment about jumping cursor

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10161 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Georg Baum 2005-07-10 09:30:07 +00:00
parent b33b8ff56e
commit 14d7a4424e
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2005-07-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
* math_gridinset.C (doDispatch): add comment about jumping cursor
2005-07-07 Georg Baum <Georg.Baum@post.rwth-aachen.de> 2005-07-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
* math_gridinset.C (doDispatch): use recordUndoInset when more than * math_gridinset.C (doDispatch): use recordUndoInset when more than

View File

@ -1040,6 +1040,11 @@ void MathGridInset::doDispatch(LCursor & cur, FuncRequest & cmd)
// insert file functions // insert file functions
case LFUN_DELETE_LINE_FORWARD: 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); recordUndoInset(cur);
//autocorrect_ = false; //autocorrect_ = false;
//macroModeClose(); //macroModeClose();