]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_iterator.h
rename commandtags.h to lfuns.h and renumber/cleanup. Rebuild the tree !
[lyx.git] / src / mathed / math_iterator.h
index 5d1e972a5eda19f07540ccee4a4f0fcc6d2c7683..5c76edc6db9be0ae7fd77e61f71770078a8e5a53 100644 (file)
@@ -2,6 +2,7 @@
 #ifndef MATH_ITERATOR_H
 #define MATH_ITERATOR_H
 
+
 #include "math_pos.h"
 #include <vector>
 
@@ -18,6 +19,7 @@ public:
        using base_type::back;
        using base_type::begin;
        using base_type::end;
+       using base_type::erase;
        using base_type::operator[];
        using base_type::size_type;
        using base_type::difference_type;
@@ -45,6 +47,10 @@ public:
        void goEnd();
        /// read access to top most item
        MathArray const & cell() const;
+       /// is this a non-end position
+       bool normal() const;
+       /// shrinks to at most i levels
+       void shrink(size_type i);
 
 private:
        /// own level down