/// are we in math mode (2), text mode (1) or unsure (0)?
int currentMode();
/// reset cursor bottom to the beginning of the given inset
/// are we in math mode (2), text mode (1) or unsure (0)?
int currentMode();
/// reset cursor bottom to the beginning of the given inset
/// in pixels from top of screen
void setScreenPos(int x, int y);
/// in pixels from top of screen
void setScreenPos(int x, int y);
/// are we currently typing the name of a macro?
bool inMacroMode() const;
/// get access to the macro we are currently typing
/// are we currently typing the name of a macro?
bool inMacroMode() const;
/// get access to the macro we are currently typing
/// replace selected stuff with at, placing the former
// selection in given cell of atom
/// replace selected stuff with at, placing the former
// selection in given cell of atom