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 toggleToggle();
///
void center();
+ /// scroll document by the given number of lines of default height
+ void scroll(int lines);
/// 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);
+ ///
+ int workHeight() const;
+
private:
///
struct Pimpl;