]> git.lyx.org Git - features.git/blobdiff - src/Cursor.h
Update tex2lyx tests
[features.git] / src / Cursor.h
index 951a0cc4dba778736dea35bcac32363349700628..4ef5bc9d6cbde7b7500398c4f092a134766417f0 100644 (file)
@@ -270,14 +270,14 @@ public:
        void setCursorData(CursorData const & data);
 
        /// returns true if we made a decision
-       bool getStatus(FuncRequest const & cmd, FuncStatus & flag) const;
+       bool getStatus(FuncRequest const & cmd, FuncStatus & status) const;
        /// dispatch from innermost inset upwards
        void dispatch(FuncRequest const & cmd);
        /// display a message
        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
@@ -286,7 +286,7 @@ public:
         * 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();
 
        /**
@@ -496,8 +496,9 @@ public:
        /// 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