#include "math_defs.h"
class MathInset;
+class MathAtom;
class MathArrayInset;
class MathFuncInset;
class MathMatrixInset;
///
void backspace();
///
- void home();
+ void home(bool sel = false);
///
- void end();
+ void end(bool sel = false);
///
bool right(bool sel = false);
///
MathArray & array() const;
///
MathXArray & xarray() const;
+ ///
+ MathAtom const * prevAtom() const;
+ ///
+ MathAtom * prevAtom();
+ ///
+ MathAtom const * nextAtom() const;
+ ///
+ MathAtom * nextAtom();
/// returns the selection
void getSelection(MathCursorPos &, MathCursorPos &) const;
/// can we enter the inset?
bool openable(MathInset *, bool selection) const;
/// can the setPos routine enter that inset?
- bool positionable(MathInset *, bool selection) const;
+ MathInset * positionable(MathAtom *, int x, int y) const;
/// write access to cursor cell position
int & pos();
/// write access to cursor cell index