]> git.lyx.org Git - lyx.git/blobdiff - src/Buffer.h
* Paragraph: Cosmetics and cleanups, remove uneeded redirection and uniformize Privat...
[lyx.git] / src / Buffer.h
index 37a2670265f32d6bcb83ee079d2d5ee2332c4b6d..7296a8f366bd2aadd469b6acd1d89186c4894050 100644 (file)
@@ -301,14 +301,6 @@ public:
        ///
        bool isMultiLingual() const;
 
-       /// Does this mean that this is buffer local?
-       limited_stack<Undo> & undostack();
-       limited_stack<Undo> const & undostack() const;
-
-       /// Does this mean that this is buffer local?
-       limited_stack<Undo> & redostack();
-       limited_stack<Undo> const & redostack() const;
-
        ///
        BufferParams & params();
        BufferParams const & params() const;
@@ -390,6 +382,8 @@ public:
        EmbeddedFiles & embeddedFiles();
        EmbeddedFiles const & embeddedFiles() const;
        //@}
+
+       Undo & undo();
        
        /// This function is called when the buffer is changed.
        void changed() const;