- bool wasMetaKey();
-
- // These can't be global because are part of the internat state (ale970227)
- /// Get the current keyseq string
- LString keyseqStr(int l=190);
-
- /// Is the key sequence uncomplete?
- bool keyseqUncomplete();
-
- /// get options for the current keyseq
- LString keyseqOptions(int l=190);
-
- /// Returns the name of a funcion given a keyseq
- char const* getFunc(char*)
- { /* unimplemented */ return 0; }
-
- /// Return a string with the keybind to an action, if any
- char const* getKeybind(int)
- { /* unimplemented */ return 0; }
-
- /// True if lyxfunc reports an error
- bool errorStat() const { return errorstat; }
- /// Buffer to store result messages
- void setMessage(LString const &m);
- /// Buffer to store result messages
- void setErrorMessage(LString const &);
- /// Buffer to store result messages
- LString getMessage() const { return dispatch_buffer; }
- /// Get next inset of this class from current cursor position
- Inset* getInsetByCode(Inset::Code);
-
- /// Should a hint message be displayed?
- void setHintMessage(bool);
+ bool wasMetaKey() const;
+
+ /// True if lyxfunc reports an error
+ bool errorStat() const { return errorstat; }
+ /// Buffer to store result messages
+ void setMessage(std::string const & m) const;
+ /// Buffer to store result messages
+ void setErrorMessage(std::string const &) const;
+ /// Buffer to store result messages
+ std::string const getMessage() const { return dispatch_buffer; }
+ /// Handle a accented char key sequence
+ void handleKeyFunc(kb_action action);