Fixed cursorPrevious for insettext (fix #60).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3709 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Vigna 2002-03-11 14:33:52 +00:00
parent 4be2b9b40f
commit 1045951369
2 changed files with 6 additions and 2 deletions

View File

@ -1145,9 +1145,8 @@ void BufferView::Pimpl::cursorPrevious(LyXText * text)
return;
int y = text->first_y;
if (text->inset_owner)
y += bv_->text->first_y;
Row * cursorrow = text->cursor.row();
text->setCursorFromCoordinates(bv_, bv_->text->cursor.x_fix(), y);
finishUndo();
// This is to allow jumping over large insets

View File

@ -1,3 +1,8 @@
2002-03-11 Juergen Vigna <jug@sad.it>
* BufferView_pimpl.C (cursorPrevious): remove old cruft which is
plainly wrong.
2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
* commandtags.h: