- /// Where should we go when we press the up or down cursor key?
- virtual bool idxUpDown(LCursor & cur, bool up, int targetx) const;
- /// Where should we go when we press the up or down cursor key?
- virtual bool idxUpDown2(LCursor & cur, bool up, int targetx) const;
- /// The left key
- virtual bool idxLeft(LCursor & cur) const;
- /// The right key
- virtual bool idxRight(LCursor & cur) const;
-
- /// Move one physical cell up
- virtual bool idxNext(LCursor & cur) const;
- /// Move one physical cell down
- virtual bool idxPrev(LCursor & cur) const;
-
- /// Target pos when we enter the inset from the left by pressing "Right"
- virtual bool idxFirst(LCursor & cur) const;
- /// Target pos when we enter the inset from the right by pressing "Left"
- virtual bool idxLast(LCursor & cur) const;
-
- /// Where should we go if we press home?
- virtual bool idxHome(LCursor & cur) const;
- /// Where should we go if we press end?
- virtual bool idxEnd(LCursor & cur) const;
-
- /// Delete a cell and move cursor
- virtual bool idxDelete(idx_type &) { return false; }
- /// pulls cell after pressing erase
- virtual void idxGlue(idx_type) {}
- // returns list of cell indices that are "between" from and to for
- // selection purposes
- virtual bool idxBetween(idx_type idx, idx_type from, idx_type to) const;
-
- /// the number of nested cells this inset owns
- virtual idx_type nargs() const;
-