bool idxForward(Cursor & cur) const;
/// move cursor up or down
bool idxUpDown(Cursor & cur, bool up) const;
- /// Target pos when we enter the inset while moving forward
- bool idxFirst(Cursor & cur) const;
- /// Target pos when we enter the inset while moving backwards
- bool idxLast(Cursor & cur) const;
+ /// The index of the cell entered while moving backward
+ size_type lastIdx() const { return 0; }
/// write LaTeX and Lyx code
void write(WriteStream & os) const;
/// Italic correction as described in InsetMathScript.h
int nker(BufferView const * bv) const;
/// Whether there are two left scripts or one single cell
- bool scriptl_;
+ bool scriptl_;
/// Whether there are two right scripts or one single cell
- bool scriptr_;
+ bool scriptr_;
};