X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FKeySequence.h;h=444fb0871975095d14a8be5b59fb1762602e61a0;hb=21c92c8a129b5f3ff56de33bf2941a25967cffbb;hp=77b511ccf7ad1eac2b720b839a824fbb888ec437;hpb=9098af80aa420a44fa818ca2d1dc627d1a94a963;p=lyx.git diff --git a/src/KeySequence.h b/src/KeySequence.h index 77b511ccf7..444fb08719 100644 --- a/src/KeySequence.h +++ b/src/KeySequence.h @@ -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 @@ -96,13 +96,13 @@ public: /// length of sequence size_t length() const { return sequence.size(); } +private: /// Keymap to use if a new sequence is starting KeyMap * stdmap; /// Keymap to use for the next key KeyMap * curmap; -private: /** * Array holding the current key sequence as KeySyms. * If sequence[length - 1] < 0xff it can be used as ISO8859 char