class Painter;
class UpdatableInset;
class WordLangTuple;
-class WorkArea;
///
class BufferView : boost::noncopyable {
Painter & painter() const;
///
LyXScreen & screen() const;
- /// return the work area for this bview
- WorkArea & workarea() const;
///
void buffer(Buffer * b);
///
///
void updateScrollbar();
///
- Inset * checkInsetHit(LyXText *, int & x, int & y);
- ///
void redoCurrentBuffer();
///
bool available() const;
///
void beforeChange(LyXText *);
///
- void finishChange(bool fitcur = false);
- ///
void savePosition(unsigned int i);
///
void restorePosition(unsigned int i);
void toggleToggle();
///
void center();
+ ///
+ int scroll(long time);
/// Scroll the view by a number of pixels
void scrollDocView(int);
void stuffClipboard(string const &) const;
///
bool dispatch(FuncRequest const & argument);
+ /// height of a normal line in pixels (zoom factor considered)
+ int defaultHeight() const;
+ ///
+ void haveSelection(bool sel);
///
- void moveCursorUpdate(bool selecting, bool fitcur = true);
+ int workHeight() const;
+
private:
///
struct Pimpl;