]> git.lyx.org Git - lyx.git/blobdiff - src/BufferView.h
mathed31.diff
[lyx.git] / src / BufferView.h
index b9ca44b8b5d9d5119429c932e7d09c85f8837948..3f20c3a0892a756a07776c8a730b0ff2846a1cdf 100644 (file)
@@ -68,7 +68,7 @@ public:
        ///
        void update();
        //
-       void update(UpdateCodes uc);
+       void update(LyXText *, UpdateCodes uc);
        ///
        void updateScrollbar();
        ///
@@ -79,7 +79,10 @@ public:
        ///
        int resizeCurrentBuffer();
        ///
-       void gotoError();
+       void gotoInset(std::vector<Inset::Code> const & codes,
+                      bool same_content);
+       ///
+       void gotoInset(Inset::Code codes, bool same_content);
        ///
        void cursorPrevious(LyXText *);
        ///
@@ -89,13 +92,13 @@ public:
        ///
        LyXView * owner() const;
        ///
-       void beforeChange();
+       void beforeChange(LyXText *);
         ///
-        void savePosition();
+        void savePosition(unsigned int i);
         ///
-        void restorePosition();
+        void restorePosition(unsigned int i);
        ///
-       bool NoSavedPositions();
+       bool isSavedPosition(unsigned int i);
        /** This holds the mapping between buffer paragraphs and screen rows.
            This should be private...but not yet. (Lgb)
        */
@@ -137,8 +140,6 @@ public:
        ///
        void insertCorrectQuote();
        ///
-       void gotoNote();
-       ///
        bool gotoLabel(string const & label);
        ///
        void paste();
@@ -153,7 +154,7 @@ public:
        ///
        void hfill();
        ///
-       void protectedBlank();
+       void protectedBlank(LyXText *);
        ///
        void newline();
        ///
@@ -237,29 +238,14 @@ public:
 
        ///
        void pushIntoUpdateList(Inset * i);
-#if 0
-       ///
-       void workAreaExpose();
-       ///
-       void workAreaButtonPress(int x, int y, unsigned int button);
-       ///
-       void workAreaButtonRelease(int x, int y, unsigned int button);
-       ///
-       void workAreaMotionNotify(int x, int y, unsigned int state);
        ///
-       void doubleClick(int x, int y, unsigned int button);
-       ///
-       void tripleClick(int x, int y, unsigned int button);
-       ///
-       void enterView();
-       ///
-       void leaveView();
-#endif
-       ///
-       bool ChangeRefs(string const & from, string const & to);
+       bool ChangeInsets(Inset::Code code, string const & from, 
+                         string const & to);
        ///
        bool ChangeRefsIfUnique(string const & from, string const & to);
        ///
+       bool ChangeCitationsIfUnique(string const & from, string const & to);
+       ///
        void pasteClipboard(bool asPara);
        ///
        void stuffClipboard(string const &) const;