- // These can't be global because are part of the
- // internal state (ale970227)
- /// Get the current keyseq string
- string keyseqStr() const;
-
- /// Is the key sequence uncomplete?
- bool keyseqUncomplete() const;
-
- /// get options for the current keyseq
- string keyseqOptions() const;
-
- /// True if lyxfunc reports an error
- bool errorStat() const { return errorstat; }
- /// Buffer to store result messages
- void setMessage(string const & m);
- /// Buffer to store result messages
- void setErrorMessage(string const &) const;
- /// Buffer to store result messages
- string 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);
+ /// True if lyxfunc reports an error
+ bool errorStat() const { return errorstat; }
+ /// Buffer to store result messages
+ void setMessage(docstring const & m) const;
+ /// Buffer to store result messages
+ void setErrorMessage(docstring const &) const;
+ /// Buffer to store result messages
+ docstring const getMessage() const { return dispatch_buffer; }
+ /// Handle a accented char key sequence
+ void handleKeyFunc(kb_action action);
+ /// goto a bookmark
+ /// openFile: whether or not open a file if the file is not opened
+ /// switchToBuffer: whether or not switch to buffer if the buffer is
+ /// not the current buffer
+ void gotoBookmark(unsigned int idx, bool openFile, bool switchToBuffer);
+