mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-12 16:50:39 +00:00
Revert part of the undo patch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH-1_2_X@5611 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
9d02921816
commit
de9a3c957d
@ -219,7 +219,11 @@ 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 = tmppar3->inInset();
|
||||
if (it)
|
||||
it->getLyXText(bv)->setCursorIntern(bv, tmppar3, 0);
|
||||
@ -227,6 +231,7 @@ bool textHandleUndo(BufferView * bv, Undo * undo)
|
||||
bv->text->setCursorIntern(bv, tmppar3, 0);
|
||||
|
||||
}
|
||||
#endif
|
||||
|
||||
Paragraph * endpar = 0;
|
||||
// calculate the endpar for redoing the paragraphs.
|
||||
|
Loading…
Reference in New Issue
Block a user