]> git.lyx.org Git - lyx.git/blobdiff - src/undo_funcs.C
update no.po
[lyx.git] / src / undo_funcs.C
index 2d8e529b2984f91bb037c4171b11ec75687287e3..873f445a5b15453bbb10628f5973ac8662661985 100644 (file)
@@ -193,13 +193,18 @@ bool textHandleUndo(BufferView * bv, Undo & undo)
                        it->getLyXText(bv)->setCursorIntern(bv, before, 0);
                else
                        bv->text->setCursorIntern(bv, before, 0);
-       } else { // otherwise this is the first one and we start here
+       }
+// we are not ready for this we cannot set the cursor for a paragraph
+// which is not already in a row of LyXText!!!
+#if 0
+       else { // otherwise this is the first one and we start here
                Inset * it = undopar->inInset();
                if (it)
                        it->getLyXText(bv)->setCursorIntern(bv, undopar, 0);
                else
                        bv->text->setCursorIntern(bv, undopar, 0);
        }
+#endif
 
        Paragraph * endpar = 0;
        // calculate the endpar for redoing the paragraphs.