]> git.lyx.org Git - lyx.git/blobdiff - src/BufferView.h
remove noload/don't typeset
[lyx.git] / src / BufferView.h
index 89602cbba180b8b2e2eaea28f7f260341987cd34..1bec27f90aef8bd670ed0d1040e4534a265f4e25 100644 (file)
@@ -30,7 +30,6 @@ class Language;
 class Painter;
 class UpdatableInset;
 class WordLangTuple;
-class WorkArea;
 
 ///
 class BufferView : boost::noncopyable {
@@ -57,8 +56,6 @@ public:
        Painter & painter() const;
        ///
        LyXScreen & screen() const;
-       /// return the work area for this bview
-       WorkArea & workarea() const;
        ///
        void buffer(Buffer * b);
        ///
@@ -78,8 +75,6 @@ public:
        ///
        void updateScrollbar();
        ///
-       Inset * checkInsetHit(LyXText *, int & x, int & y);
-       ///
        void redoCurrentBuffer();
        ///
        bool available() const;
@@ -88,8 +83,6 @@ public:
        ///
        void beforeChange(LyXText *);
        ///
-       void finishChange(bool fitcur = false);
-       ///
        void savePosition(unsigned int i);
        ///
        void restorePosition(unsigned int i);
@@ -130,12 +123,6 @@ public:
        ///
        bool gotoLabel(string const & label);
        ///
-       void paste();
-       ///
-       void cut(bool realcut = true);
-       ///
-       void copy();
-       ///
        void pasteEnvironment();
        ///
        void copyEnvironment();
@@ -178,6 +165,8 @@ public:
        void toggleToggle();
        ///
        void center();
+       ///
+       int scroll(long time);
 
        /// Scroll the view by a number of pixels
        void scrollDocView(int);
@@ -198,8 +187,13 @@ public:
        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;