From: Jürgen Vigna Date: Mon, 11 Mar 2002 15:12:23 +0000 (+0000) Subject: I reactivate the code to resize the InsetText on a resize event of the main X-Git-Tag: 1.6.10~19687 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=a222bf08fa2f5686a677b997bf2ec096334f8e14;p=lyx.git I reactivate the code to resize the InsetText on a resize event of the main LyxText (this should fix #234 and #179). git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3711 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/BufferView_pimpl.C b/src/BufferView_pimpl.C index 2c5898fa4d..84152ccb47 100644 --- a/src/BufferView_pimpl.C +++ b/src/BufferView_pimpl.C @@ -369,7 +369,9 @@ int BufferView::Pimpl::resizeCurrentBuffer() bv_->theLockingInset(the_locking_inset); } bv_->text->first_y = screen_->topCursorVisible(bv_->text); -#if 0 + // please tell me WHY the heck you deactivated this code, whoever + // 'you' are (Jug 20020311) +#if 1 buffer_->resizeInsets(bv_); #endif // this will scroll the screen such that the cursor becomes visible diff --git a/src/ChangeLog b/src/ChangeLog index a4ed6faf4b..0ef0c207f9 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -2,6 +2,7 @@ * BufferView_pimpl.C (cursorPrevious): remove old cruft which is plainly wrong. + (resizeCurrentBuffer): force also the insets to resize themselfes. 2002-03-08 Angus Leeming