]> git.lyx.org Git - lyx.git/blobdiff - src/BufferView.C
update comments.
[lyx.git] / src / BufferView.C
index 841f3703b39631776473f13ac71a637519784468..154755c15e0105b13c812fe3866b6af956101bb1 100644 (file)
@@ -1025,14 +1025,11 @@ void BufferView::clearSelection()
 
 void BufferView::workAreaResize(int width, int height)
 {
-       // A resize is triggered whenever a window gets focus,
-       // because of the shared rows() of a buffer in multiple
-       // buffer views.
-       
        // Update from work area
        width_ = width;
        height_ = height;
 
+       // The complete text metrics will be redone.
        text_metrics_.clear();
 
        if (buffer_)
@@ -1155,8 +1152,6 @@ void BufferView::scroll(int /*lines*/)
 //
 //     scrollDocView(new_top_y);
 //
-//     // Update the scrollbar.
-//     workArea_->setScrollbarParams(t->height(), top_y(), defaultRowHeight());}
 }