int xpos, int ypos, int width, int height);
///
Painter & painter() const;
- /// return the work area for this bview
- WorkArea & workarea() const;
/// return the screen for this bview
LyXScreen & screen() const;
///
///
void scrollDocView(int value);
/**
- * Returns an inset if inset was hit, or 0 if not.
- *
- * If hit, the coordinates are changed relative to the inset.
+ * Wheel mouse scroll, move by multiples of text->defaultHeight().
*/
- Inset * checkInsetHit(LyXText *, int & x, int & y);
- /// wheel mouse scroll
- int scroll(long time);
+ void scroll(int lines);
///
void workAreaKeyPress(LyXKeySymPtr key, key_modifier::state state);
///
Inset * getInsetByCode(Inset::Code code);
///
void MenuInsertLyXFile(string const & filen);
+ /// our workarea
+ WorkArea & workarea() const;
};
#endif // BUFFERVIEW_PIMPL_H