]> git.lyx.org Git - features.git/commitdiff
don't move cursor to the left after an C-<Return>
authorAndré Pönitz <poenitz@gmx.net>
Tue, 23 Oct 2001 09:29:02 +0000 (09:29 +0000)
committerAndré Pönitz <poenitz@gmx.net>
Tue, 23 Oct 2001 09:29:02 +0000 (09:29 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2919 a592a061-630c-0410-9148-cb99ea01b6c8

src/mathed/math_cursor.C

index 754a65aed3d3e3ad27ffa0fa23d9881b29c7fb17..c7fa2cf3e50a05f2505f22fa1497c951e097e5dd 100644 (file)
@@ -1066,10 +1066,6 @@ void MathCursor::breakLine()
                // split cell
                splitCell();
                p->cell(idx()).swap(p->cell(idx() + p->ncols() - 1));
-
-               // correct cursor position
-               --idx();
-               pos() = size();
        }
 }