X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FKeySequence.h;h=444fb0871975095d14a8be5b59fb1762602e61a0;hb=294e4884ee29585d311177406cd31499e6d81877;hp=c5b9527578b29f669158aaea3457eae873bc6855;hpb=91baeb2c5579790ecac82e71f963da649b3808c2;p=lyx.git diff --git a/src/KeySequence.h b/src/KeySequence.h index c5b9527578..444fb08719 100644 --- a/src/KeySequence.h +++ b/src/KeySequence.h @@ -4,7 +4,7 @@ * This file is part of LyX, the document processor. * Licence details can be found in the file COPYING. * - * \author Lars Gullik Bjønnes + * \author Lars Gullik Bjønnes * \author Jean-Marc Lasgouttes * * Full author contact details are available in file CREDITS. @@ -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 @@ -82,9 +82,6 @@ public: */ docstring const printOptions(bool forgui) const; - /// Mark the sequence as deleted. - void mark_deleted(); - /// Reset sequence to become "deleted" void reset(); @@ -99,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