]> git.lyx.org Git - lyx.git/blobdiff - src/Cursor.h
* GuiDocument.cpp:
[lyx.git] / src / Cursor.h
index 4fc4ef937a8b6fd18dc83f6921740251f1626c67..81b2d9b97e472df9ba9c64c6b3f72127947ef2e6 100644 (file)
@@ -63,6 +63,8 @@ public:
        void leaveInset(Inset const & inset);
        /// sets cursor part
        void setCursor(DocIterator const & it);
+       /// sets the cursor to the anchor
+       void setCursorToAnchor();
 
        ///
        void setCurrentFont();
@@ -198,8 +200,6 @@ public:
        void resetAnchor();
        /// access to owning BufferView
        BufferView & bv() const;
-       /// access to owning Buffer
-       Buffer & buffer() const;
        /// get some interesting description of top position
        void info(odocstream & os) const;
        /// are we in math mode (2), text mode (1) or unsure (0)?