From: Abdelrazak Younes Date: Sat, 6 Jan 2007 23:24:55 +0000 (+0000) Subject: update comments. X-Git-Tag: 1.6.10~11303 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=fc86d802eebddc75d5fa1c2d4dcf261fd2cdf9a3;hp=c3b20e5a4bbf0a6bebea710441932a0db1f5fd85;p=lyx.git update comments. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16558 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/BufferView.C b/src/BufferView.C index 841f3703b3..154755c15e 100644 --- a/src/BufferView.C +++ b/src/BufferView.C @@ -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());} }