]> git.lyx.org Git - lyx.git/blobdiff - src/BufferView.h
more guii moving around.
[lyx.git] / src / BufferView.h
index b65afe81638f13d23bd71624d02a8d3f3121bb1f..c19e2bbffe30177f9cc11887f45572987a4579c4 100644 (file)
@@ -44,7 +44,7 @@ public:
                ///
                CHANGE = 4
        };
-                                           
+
        ///
        BufferView(LyXView * owner, int , int , int, int);
        ///
@@ -64,7 +64,7 @@ public:
        ///
        void redraw();
        ///
-       void fitCursor();
+       bool fitCursor();
        ///
        void update();
        //
@@ -73,7 +73,7 @@ public:
        void updateScrollbar();
        ///
        Inset * checkInsetHit(LyXText *, int & x, int & y);
-       /// 
+       ///
        void redoCurrentBuffer();
        ///
        int resizeCurrentBuffer();
@@ -81,16 +81,16 @@ public:
        void cursorPrevious(LyXText *);
        ///
        void cursorNext(LyXText *);
-       /// 
+       ///
        bool available() const;
        ///
        LyXView * owner() const;
        ///
        void beforeChange(LyXText *);
-        ///
-        void savePosition(unsigned int i);
-        ///
-        void restorePosition(unsigned int i);
+       ///
+       void savePosition(unsigned int i);
+       ///
+       void restorePosition(unsigned int i);
        ///
        bool isSavedPosition(unsigned int i);
        /** This holds the mapping between buffer paragraphs and screen rows.
@@ -108,7 +108,7 @@ public:
        ///
        UpdatableInset * theLockingInset() const;
        ///
-       void theLockingInset(UpdatableInset * inset); 
+       void theLockingInset(UpdatableInset * inset);
        ///
        void updateInset(Inset * inset, bool mark_dirty);
        ///
@@ -117,10 +117,12 @@ public:
        int sly;
        ///
        void insetUnlock();
+#if 0
        ///
        void insetSleep();
        ///
        void insetWakeup();
+#endif
        ///
        void replaceWord(string const & replacestring);
        ///
@@ -169,7 +171,7 @@ public:
        ///
        void hideLockedInsetCursor();
        ///
-       void fitLockedInsetCursor(int x, int y, int asc, int desc);
+       bool fitLockedInsetCursor(int x, int y, int asc, int desc);
        ///
        int unlockInset(UpdatableInset * inset);
        ///
@@ -184,7 +186,7 @@ public:
        void toggleToggle();
        ///
        void center();
-       
+
        ///
        bool focus() const;
        ///
@@ -200,7 +202,7 @@ public:
        void setState();
 
        ///
-       bool ChangeInsets(Inset::Code code, string const & from, 
+       bool ChangeInsets(Inset::Code code, string const & from,
                          string const & to);
        ///
        bool ChangeRefsIfUnique(string const & from, string const & to);