]> git.lyx.org Git - features.git/commitdiff
ws changes
authorLars Gullik Bjønnes <larsbj@gullik.org>
Fri, 5 Apr 2002 15:17:24 +0000 (15:17 +0000)
committerLars Gullik Bjønnes <larsbj@gullik.org>
Fri, 5 Apr 2002 15:17:24 +0000 (15:17 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3912 a592a061-630c-0410-9148-cb99ea01b6c8

src/BufferView_pimpl.C
src/screen.C

index e4c70906e48c2c9b14ffed83dfbe54bf46800ba6..cad89d3fdfa8eb378a486ab21bfb3e2765d858b1 100644 (file)
@@ -412,7 +412,7 @@ void BufferView::Pimpl::updateScrollbar()
 
        lyxerr[Debug::GUI] << "text_height now " << text_height << endl;
        lyxerr[Debug::GUI] << "work_height " << work_height << endl;
+
        /* If the text is smaller than the working area, the scrollbar
         * maximum must be the working area height. No scrolling will
         * be possible */
@@ -435,7 +435,7 @@ void BufferView::Pimpl::updateScrollbar()
 void BufferView::Pimpl::scrollCB(double value)
 {
        lyxerr[Debug::GUI] << "scrollCB of " << value << endl;
+
        if (!buffer_) return;
 
        current_scrollbar_value = long(value);
index 66df051f80cfdf48e1d93db51512269a8203a9cd..83c19bc19a7a471c2d3bafffeb827ab0a4da7daf 100644 (file)
@@ -527,7 +527,7 @@ void LyXScreen::toggleToggle(LyXText * text, BufferView * bv,
                     static_cast<int>(text->first_y + owner.height()))-offset;
        int const top = min(max(top_tmp, text->first_y),
                  static_cast<int>(text->first_y + owner.height()))-offset;
-       
+
        drawFromTo(text, bv, top - text->first_y,
                   bottom - text->first_y, y_offset,
                   x_offset);