]> git.lyx.org Git - features.git/commitdiff
I reactivate the code to resize the InsetText on a resize event of the main
authorJürgen Vigna <jug@sad.it>
Mon, 11 Mar 2002 15:12:23 +0000 (15:12 +0000)
committerJürgen Vigna <jug@sad.it>
Mon, 11 Mar 2002 15:12:23 +0000 (15:12 +0000)
LyxText (this should fix #234 and #179).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3711 a592a061-630c-0410-9148-cb99ea01b6c8

src/BufferView_pimpl.C
src/ChangeLog

index 2c5898fa4db131e386f4b8717b766735dc330965..84152ccb47041b363c2642efe7a77fbe095c7659 100644 (file)
@@ -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
index a4ed6faf4bce5d6a3b27d224c987bea03be135c1..0ef0c207f953796011f5284fdef8c33487d9932c 100644 (file)
@@ -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  <a.leeming@ic.ac.uk>