]> git.lyx.org Git - lyx.git/blobdiff - src/LyXAction.h
Only create a new view for lyxfiles-open if no view is open (#12894)
[lyx.git] / src / LyXAction.h
index bf7bf35638e729f283afa80a142e512a1cd142f3..000b0fb31c9199dc7f1f372fb4aa402c5221f71c 100644 (file)
@@ -22,7 +22,7 @@
 namespace lyx {
 
 // current LFUN format
-static unsigned int const LFUN_FORMAT = 4; // gm: tabular-feature
+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