mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-27 11:52:25 +00:00
update comments.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16558 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
c3b20e5a4b
commit
fc86d802ee
@ -1025,14 +1025,11 @@ void BufferView::clearSelection()
|
|||||||
|
|
||||||
void BufferView::workAreaResize(int width, int height)
|
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
|
// Update from work area
|
||||||
width_ = width;
|
width_ = width;
|
||||||
height_ = height;
|
height_ = height;
|
||||||
|
|
||||||
|
// The complete text metrics will be redone.
|
||||||
text_metrics_.clear();
|
text_metrics_.clear();
|
||||||
|
|
||||||
if (buffer_)
|
if (buffer_)
|
||||||
@ -1155,8 +1152,6 @@ void BufferView::scroll(int /*lines*/)
|
|||||||
//
|
//
|
||||||
// scrollDocView(new_top_y);
|
// scrollDocView(new_top_y);
|
||||||
//
|
//
|
||||||
// // Update the scrollbar.
|
|
||||||
// workArea_->setScrollbarParams(t->height(), top_y(), defaultRowHeight());}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user