/// The same as dispatch, but also shows shortcuts and command
/// name in minibuffer if show_sc is true (more to come?)
- void const LyXFunc::verboseDispatch(kb_action action,
- string const & argument,
- bool show_sc);
+ void verboseDispatch(kb_action action,
+ string const & argument,
+ bool show_sc);
/// Same as above, using a pseudoaction as argument
- void const LyXFunc::verboseDispatch(int ac, bool show_sc);
+ void verboseDispatch(int ac, bool show_sc);
/// Same as above, when the command is provided as a string
- void const LyXFunc::verboseDispatch(string const & s, bool show_sc);
+ void verboseDispatch(string const & s, bool show_sc);
///
- void LyXFunc::miniDispatch(string const & s);
+ void miniDispatch(string const & s);
///
void initMiniBuffer();
/// True if lyxfunc reports an error
bool errorStat() const { return errorstat; }
/// Buffer to store result messages
- void setMessage(string const & m);
+ void setMessage(string const & m) const;
/// Buffer to store result messages
void setErrorMessage(string const &) const;
+ /// Buffer to store result messages from getStatus
+ void setStatusMessage(string const &) const;
/// Buffer to store result messages
string const getMessage() const { return dispatch_buffer; }
+ /// Buffer to store result messages
+ string const getStatusMessage() const { return status_buffer; }
/// Handle a accented char keysequenze
void handleKeyFunc(kb_action action);
good reason to have this one as static in Dispatch? (Ale)
*/
mutable string dispatch_buffer;
+ /** Buffer to store messages and result data from getStatus
+ */
+ mutable string status_buffer;
/// Command name and shortcut information
string commandshortcut;