]> git.lyx.org Git - lyx.git/blobdiff - src/KeyMap.h
tex2lyx: fix import of umlauts and ß in math (#12739)
[lyx.git] / src / KeyMap.h
index 95a5f61c5e996ff68e7cc2b3ce18035d6b86703e..9386c1fee41716893c4321f32473ace31b45ddcb 100644 (file)
@@ -82,9 +82,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
@@ -118,7 +119,8 @@ public:
 
        /// Given an action, print the keybindings.
        docstring printBindings(FuncRequest const & func,
-                               KeySequence::outputFormat format) const;
+                               KeySequence::outputFormat format,
+                               bool const untranslated = false) const;
 
        struct Binding {
                Binding(FuncRequest const & r, KeySequence const & s, ItemType t)