]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_cursor.h
forward search in math insets. ugly. seems to work. don't ask why.
[lyx.git] / src / mathed / math_cursor.h
index 0a764c16c5de2dd612d9ebf88bdc6dbca6a8e234..ef9172a0ad87f3a8394fc03a8d6b6fa7584f96a3 100644 (file)
@@ -115,6 +115,8 @@ public:
        /// size of current cell
        size_type size() const;
        ///
+       bool script(bool);
+       ///
        bool interpret(string const &);
        ///
        bool interpret(char);
@@ -174,9 +176,13 @@ public:
        col_type hullCol() const;
        ///
        row_type hullRow() const;
+       ///
+       col_type gridCol() const;
+       ///
+       row_type gridRow() const;
 
        /// make sure cursor position is valid
-       void normalize() const;
+       void normalize();
        ///
        UpdatableInset * asHyperActiveInset() const;
 
@@ -229,6 +235,8 @@ public:
        void dump(char const * str) const;
        ///
        void stripFromLastEqualSign();
+       /// moves on 
+       void setSelection(cursor_type const & where, size_type n);
 
        ///
        friend class Selection;