]> git.lyx.org Git - lyx.git/blobdiff - src/BufferView.h
two patches from john
[lyx.git] / src / BufferView.h
index 548306dbac80fb9af1fb991ec66b5ab2189f6fd9..50518247c4c9f8ddf5349aae9e13fe08f894e5b9 100644 (file)
@@ -27,7 +27,6 @@ class LyXText;
 class TeXErrors;
 class Buffer;
 class LyXScreen;
-class WorkArea;
 class Language;
 class Painter;
 class UpdatableInset;
@@ -66,7 +65,7 @@ public:
        ///
        void redraw();
        ///
-       void fitCursor(LyXText *);
+       void fitCursor();
        ///
        void update();
        //
@@ -74,8 +73,7 @@ public:
        ///
        void updateScrollbar();
        ///
-       Inset * checkInsetHit(LyXText *, int & x, int & y,
-                             unsigned int button);
+       Inset * checkInsetHit(LyXText *, int & x, int & y);
        /// 
        void redoCurrentBuffer();
        ///
@@ -137,7 +135,7 @@ public:
        ///
        void paste();
        ///
-       void cut();
+       void cut(bool realcut = true);
        ///
        void copy();
        ///