#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(BufferView & bv) const
+bool MathOversetInset::idxFirst(LCursor & cur) const
{
- CursorSlice & cur = cursorTip(bv);
cur.idx() = 1;
cur.pos() = 0;
return true;
}
-bool MathOversetInset::idxLast(BufferView & bv) const
+bool MathOversetInset::idxLast(LCursor & cur) const
{
- CursorSlice & cur = cursorTip(bv);
cur.idx() = 1;
cur.pos() = cur.lastpos();
return true;