]> git.lyx.org Git - lyx.git/blobdiff - src/KeySequence.h
Remove invalid comment.
[lyx.git] / src / KeySequence.h
index b59e86d2df131864bebb49d90cd58ada8ce8b931..c5b9527578b29f669158aaea3457eae873bc6855 100644 (file)
@@ -61,13 +61,18 @@ public:
         */
        size_t parse(std::string const & s);
 
+       enum outputFormat {
+               Portable,       //< use a more portable format
+               ForGui,         //< use platform specific translations and special characters
+               BindFile        //< the format used in lyx bind files
+       };
+       
        /**
         * Return the current sequence as a string.
-        * @param forgui true if the string should use translations and
-        *   special characters.
+        * @param format output format
         * @see parse()
         */
-       docstring const print(bool forgui) const;
+       docstring const print(outputFormat format) const;
 
        /**
         * Return the current sequence and available options as
@@ -86,6 +91,9 @@ public:
        /// clear in full
        void clear();
 
+       /// remove last key in sequence
+       void removeKey();
+
        bool deleted() const { return deleted_; }
 
        /// length of sequence