]> git.lyx.org Git - lyx.git/blobdiff - src/Cursor.h
cleanup error messages
[lyx.git] / src / Cursor.h
index 44d3d8292bf6bdc95b26959805bc213fb60085c8..2b1505a5489c061ef1bfaab053e82ed8314df3b9 100644 (file)
@@ -45,6 +45,8 @@ public:
        /// create the cursor of a BufferView
        explicit Cursor(BufferView & bv);
 
+       /// returns true if we made a decision
+       bool getStatus(FuncRequest const & cmd, FuncStatus & flag) const;
        /// dispatch from innermost inset upwards
        void dispatch(FuncRequest const & cmd);
        /// get the resut of the last dispatch
@@ -375,7 +377,8 @@ public:
        ///
        void niceInsert(MathAtom const & at);
        ///
-       void niceInsert(docstring const & str, Parse::flags f = Parse::NORMAL);
+       void niceInsert(docstring const & str, Parse::flags f = Parse::NORMAL,
+                       bool enter = true);
 
        /// in pixels from top of screen
        void setScreenPos(int x, int y);