Forgot to recalculate the cursor position as it is requested when calling

fitInsetCursor (fix #229).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4123 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Vigna 2002-05-03 10:17:56 +00:00
parent 4564ce04e8
commit 0f86536740
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2002-05-03 Juergen Vigna <jug@sad.it>
* insettabular.C (fitInsetCursor): recalculate the cursor position
if I request it.
2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
* InsetgraphicsParams.[Ch]: whitespace.

View File

@ -1479,6 +1479,7 @@ void InsetTabular::fitInsetCursor(BufferView * bv) const
int const asc = lyxfont::maxAscent(font);
int const desc = lyxfont::maxDescent(font);
resetPos(bv);
if (bv->fitLockedInsetCursor(cursor_.x(), cursor_.y(), asc, desc))
need_update = FULL;
}