]> git.lyx.org Git - lyx.git/blobdiff - src/LyXAction.h
Warn if buffer is switched with unapplied document changes (#9369)
[lyx.git] / src / LyXAction.h
index cbe59b95a9dab4cae397461e5ecb50dc041f30e5..000b0fb31c9199dc7f1f372fb4aa402c5221f71c 100644 (file)
@@ -22,7 +22,7 @@
 namespace lyx {
 
 // current LFUN format
-static unsigned int const LFUN_FORMAT = 1;
+static unsigned int const LFUN_FORMAT = 5; // spitz: 2.4.x changes
 
 class FuncRequest;
 class LyXErr;
@@ -77,7 +77,7 @@ public:
         * Creates a FuncRequest from a string of the form:
         *   lyx-function [argument]
         * where the argument is optional and "lyx-function" is in the form you'd
-        * enter it in the mini-buffer. 
+        * enter it in the mini-buffer.
         */
        FuncRequest lookupFunc(std::string const & func_name) const;
 
@@ -94,10 +94,10 @@ public:
        typedef FuncMap::const_iterator const_iterator;
 
        /// return an iterator to the start of the list of LFUNs
-       const_iterator func_begin() const;
+       const_iterator begin() const;
 
        /// return an iterator to one past the end of the list of LFUNs
-       const_iterator func_end() const;
+       const_iterator end() const;
 
 private:
        /// noncopyable