void message(docstring const & msg) const;
/// display an error message
void errorMessage(docstring const & msg) const;
- /// get the resut of the last dispatch
+ /// get the result of the last dispatch
DispatchResult const & result() const;
/// Set the cursor language from current input method language
* or partial match with the whole list of languages.
*/
void setLanguageFromInput();
- /// Set the current font of the cursor from its location.
+ /// Set the current font of the cursor from its location.
void setCurrentFont();
/**
/// return true if fullscreen update is needed
bool down();
/// move up/down in a text inset, called for LFUN_UP/DOWN,
- /// return true if successful, updateNeeded set to true if fullscreen
- /// update is needed, otherwise it's not touched
+ /// return true if the cursor has moved or can move, updateNeeded
+ /// set to true if fullscreen update is needed, otherwise it's not
+ /// touched
bool upDownInText(bool up, bool & updateNeeded);
/// move up/down in math or any non text inset, call for LFUN_UP/DOWN
/// return true if successful