X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FBufferView.C;h=1e8a987d60337628d1e5f5823fc678dc5bdf32ff;hb=27652900a60fd078f161ce866ddaed21dba21eff;hp=4cf8fb3ae99f30df934518c6a94c57de27edf66a;hpb=83acbbd5237373926c629855379e1df9a04209b2;p=lyx.git diff --git a/src/BufferView.C b/src/BufferView.C index 4cf8fb3ae9..1e8a987d60 100644 --- a/src/BufferView.C +++ b/src/BufferView.C @@ -1,4 +1,3 @@ -// -*- C++ -*- /* This file is part of * ====================================================== * @@ -18,7 +17,6 @@ #include "BufferView.h" #include "BufferView_pimpl.h" #include "lyxtext.h" -#include "WorkArea.h" #include "lyxscreen.h" @@ -27,7 +25,6 @@ BufferView::BufferView(LyXView * o, int xpos, int ypos, : pimpl_(new Pimpl(this, o, xpos, ypos, width, height)) { text = 0; - inset_slept = false; } @@ -92,9 +89,9 @@ void BufferView::redraw() } -void BufferView::fitCursor(LyXText * text) +void BufferView::fitCursor() { - pimpl_->fitCursor(text); + pimpl_->fitCursor(); } @@ -116,10 +113,9 @@ void BufferView::scrollCB(double value) } -Inset * BufferView::checkInsetHit(LyXText * text, int & x, int & y, - unsigned int button) +Inset * BufferView::checkInsetHit(LyXText * text, int & x, int & y) { - return pimpl_->checkInsetHit(text, x, y, button); + return pimpl_->checkInsetHit(text, x, y); }