/**
* 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);
/**
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
/// 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