+
#include <config.h>
#include "math_iterator.h"
void MathIterator::operator++()
{
- MathCursorPos & top = back();
- MathArray & ar = top.par_->cell(top.idx_);
+ MathCursorPos & top = back();
+ MathArray & ar = top.par_->cell(top.idx_);
// move into the current inset if possible
// it is impossible for pos() == size()!
}
-/*
-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)