#include "math_oversetinset.h"
#include "math_data.h"
#include "math_mathmlstream.h"
-
+#include "cursor.h"
using std::max;
using std::auto_ptr;
}
-bool MathOversetInset::idxFirst(idx_type & i, pos_type & pos) const
+bool MathOversetInset::idxFirst(LCursor & cur) const
{
- i = 1;
- pos = 0;
+ cur.idx() = 1;
+ cur.pos() = 0;
return true;
}
-bool MathOversetInset::idxLast(idx_type & i, pos_type & pos) const
+bool MathOversetInset::idxLast(LCursor & cur) const
{
- i = 1;
- pos = cell(i).size();
+ cur.idx() = 1;
+ cur.pos() = cur.lastpos();
return true;
}