]> git.lyx.org Git - lyx.git/blobdiff - src/BufferView_pimpl.h
Remove the XOpenIM test as lyxlookup.C has been buried.
[lyx.git] / src / BufferView_pimpl.h
index b1832f9b3603001d605e30f2a879cb35b67f05bf..9a77eba226e0e2ab2c203f0bf4d2e319f8e1dddc 100644 (file)
@@ -35,8 +35,6 @@ struct BufferView::Pimpl : public boost::signals::trackable {
              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;
        ///
@@ -63,13 +61,9 @@ struct BufferView::Pimpl : public boost::signals::trackable {
        ///
        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);
        ///
@@ -148,5 +142,7 @@ private:
        Inset * getInsetByCode(Inset::Code code);
        ///
        void MenuInsertLyXFile(string const & filen);
+       /// our workarea
+       WorkArea & workarea() const;
 };
 #endif // BUFFERVIEW_PIMPL_H