]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_iterator.C
rename commandtags.h to lfuns.h and renumber/cleanup. Rebuild the tree !
[lyx.git] / src / mathed / math_iterator.C
index ddfbc620aa4fc6eca595a9b30dde715289d28b0b..eb73b1a3a38b310e8573728d91f5c815b97e4e3c 100644 (file)
@@ -1,6 +1,3 @@
-#ifdef __GNUG__
-#pragma implementation 
-#endif
 
 #include <config.h>
 
@@ -123,20 +120,10 @@ void MathIterator::jump(difference_type i)
 }
 
 
-/*
-void MathIterator::shrink(size_type i)
-{
-       if (i < size())
-               erase(begin() + i, end());
-}
-
-
-void MathIterator::shrink(size_type i)
+bool MathIterator::normal() const
 {
-       if (i < size())
-               erase(begin() + i, end());
+       return back().pos_ < cell().size();
 }
-*/
 
 
 void MathIterator::shrink(size_type i)