]> git.lyx.org Git - lyx.git/blobdiff - src/KeyMap.h
Amend 207eaeee9071cb
[lyx.git] / src / KeyMap.h
index 849ba0cdad6ee5f089a0ff1b478cb76128a0fe1d..ac9de6298bf8f99db9f315246bedc7a344c1879e 100644 (file)
@@ -65,8 +65,9 @@ public:
                    unsigned int r = 0);
 
 
-       /// returns the function bound to this key sequence, or
-       /// FuncRequest::unknown if no binding exists for it.
+       /// returns the function bound to this key sequence, or:
+       /// * FuncRequest::unknown if no binding exists for it;
+       /// * FuncRequest::prefix if this is the start of longer keysequences
        /// @param r an internal recursion counter
        // FIXME Surely there's a better way to do that?
        FuncRequest getBinding(KeySequence const & seq, unsigned int r = 0);
@@ -82,9 +83,10 @@ public:
         * @param bind_file bind file
         * @param unbind_map pointer to a KeyMap that holds \unbind bindings
         * @param rt how to respond if the file can't be found
+        * @param i18n whether to search in localized folders
         */
        bool read(std::string const & bind_file, KeyMap * unbind_map = 0,
-                       BindReadType rt = Default);
+                       BindReadType rt = Default, bool i18n = true);
 
        /** write to a bind file.
         * @param append append to the bind_file instead of overwrite it