///
void draw(MathInset const * nuc, Painter &, int x, int y) const;
///
- int ascent(MathInset const * nuc) const;
+ int ascent2(MathInset const * nuc) const;
///
- int descent(MathInset const * nuc) const;
+ int descent2(MathInset const * nuc) const;
///
- int width(MathInset const * nuc) const;
+ int width2(MathInset const * nuc) const;
///
bool idxLeft(idx_type &, pos_type &) const;
///
bool idxRight(idx_type &, pos_type &) const;
- ///
- bool idxFirstUp(idx_type &, pos_type &) const;
- ///
- bool idxFirstDown(idx_type &, pos_type &) const;
- ///
- bool idxLastUp(idx_type &, pos_type &) const;
- ///
- bool idxLastDown(idx_type &, pos_type &) const;
/// identifies scriptinsets
MathScriptInset const * asScriptInset() const;
bool hasDown() const;
/// do we have a script?
bool has(bool up) const;
+ /// do we have a anything?
+ bool empty() const;
/// remove script
void removeScript(bool up);
/// remove script