]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_iterator.h
Fix reading of math macros
[lyx.git] / src / mathed / math_iterator.h
index 15d790ddba5bbe5e04c8a0447da3d8c61a9d77e5..53a9727f5da1495ef51f4578b8b8bca4add72312 100644 (file)
@@ -2,6 +2,10 @@
 #ifndef MATH_ITERATOR_H
 #define MATH_ITERATOR_H
 
+#ifdef __GNUG__
+#pragma interface
+#endif
+
 #include "math_pos.h"
 #include <vector>
 
@@ -46,6 +50,8 @@ 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);