]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_iterator.h
make \newcommand{\bb}[1]{\mathbf{#1}} work for read/write/display.
[lyx.git] / src / mathed / math_iterator.h
index d95ff6f00f3c358f6b55c4ce53e3c8f8194312d4..7b484b030b41be4c37166a333024513a6c3c0510 100644 (file)
@@ -18,8 +18,10 @@ public:
        MathCursorPos const & operator*() const;
        ///
        MathCursorPos const & operator->() const;
-       ///
+       /// move on one step
        void operator++();
+       /// move on several steps
+       void jump(MathInset::difference_type);
        /// read access to top most item
        MathCursorPos const & position() const;
        /// write access to top most item
@@ -32,9 +34,11 @@ public:
        MathInset * par();
        /// helper for iend
        void goEnd();
-       
-private:
-       /// write access to top most item
+       /// read access to top most item
+       MathArray const & cell() const;
+
+private:       
+       /// read access to top most item
        MathXArray const & xcell() const;
        /// write access to top most item
        MathInset * nextInset() const;