]> git.lyx.org Git - lyx.git/blobdiff - src/KeySequence.h
FindAdv: Search for 'whole words' with help of modified regex.
[lyx.git] / src / KeySequence.h
index a0eb74eb03b2c80e657c2588a622621b23c54093..6e46abac2c95a583a76bc48ded8e14383ab5702f 100644 (file)
@@ -40,12 +40,12 @@ public:
        /**
         * Add a key to the key sequence and look it up in the curmap
         * if the latter is defined.
-        * @param keysym the key to add
+        * @param key the key to add
         * @param mod modifier mask
         * @param nmod which modifiers to mask out for equality test
         * @return the action matching this key sequence or LFUN_UNKNOWN_ACTION
         */
-       FuncRequest const & addkey(KeySymbol const & keysym, KeyModifier mod,
+       FuncRequest const & addkey(KeySymbol const & key, KeyModifier mod,
               KeyModifier nmod = NoModifier);
 
        /**
@@ -66,13 +66,13 @@ public:
                ForGui,         //< use platform specific translations and special characters
                BindFile        //< the format used in lyx bind files
        };
-       
+
        /**
         * Return the current sequence as a string.
         * @param format output format
         * @see parse()
         */
-       docstring const print(outputFormat format) const;
+       docstring const print(outputFormat format, bool const untranslated = false) const;
 
        /**
         * Return the current sequence and available options as