From: Jürgen Vigna Date: Fri, 3 May 2002 10:17:56 +0000 (+0000) Subject: Forgot to recalculate the cursor position as it is requested when calling X-Git-Tag: 1.6.10~19284 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=0f865367401b48698b9d78605ead795b61a6293b;p=features.git 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 --- diff --git a/src/insets/ChangeLog b/src/insets/ChangeLog index 42df52e24b..60ed29946e 100644 --- a/src/insets/ChangeLog +++ b/src/insets/ChangeLog @@ -1,3 +1,8 @@ +2002-05-03 Juergen Vigna + + * insettabular.C (fitInsetCursor): recalculate the cursor position + if I request it. + 2002-05-01 Angus Leeming * InsetgraphicsParams.[Ch]: whitespace. diff --git a/src/insets/insettabular.C b/src/insets/insettabular.C index c36104fbdb..d7c59e82bf 100644 --- a/src/insets/insettabular.C +++ b/src/insets/insettabular.C @@ -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; }