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;
void htmlize(HtmlStream &) const;
/// returns nucleus
- MathData const & nuc() const { return cell(0); };
+ MathData const & nuc() const { return cell(0); }
/// returns nucleus
- MathData & nuc() { return cell(0); };
+ MathData & nuc() { return cell(0); }
/// bottom left index or single left cell
MathData const & bl() const { return cell(1); }
/// bottom left index or single left cell
int nasc(BufferView const &) const;
/// returns descent of nucleus if any
int ndes(BufferView const &) const;
- /// returns subscript and superscript kerning of nucleus if any
+ /// 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_;
};