idx = 1;
return true;
}
-
-
-bool MathFracbaseInset::idxFirstUp(int & idx, int & pos) const
-{
- idx = 0;
- pos = 0;
- return true;
-}
-
-
-bool MathFracbaseInset::idxFirstDown(int & idx, int & pos) const
-{
- idx = 1;
- pos = 0;
- return true;
-}
-
-
-bool MathFracbaseInset::idxLastUp(int & idx, int & pos) const
-{
- idx = 0;
- pos = cell(idx).size();
- return true;
-}
-
-
-bool MathFracbaseInset::idxLastDown(int & idx, int & pos) const
-{
- idx = 1;
- pos = cell(idx).size();
- return true;
-}
bool idxLeft(int &, int &) const;
///
bool idxRight(int &, int &) const;
- ///
- bool idxFirstUp(int & idx, int & pos) const;
- ///
- bool idxFirstDown(int & idx, int & pos) const;
- ///
- bool idxLastUp(int & idx, int & pos) const;
- ///
- bool idxLastDown(int & idx, int & pos) const;
};
#endif
}
-bool MathInset::idxFirstUp(int &, int &) const
-{
- return false;
-}
-
-
-bool MathInset::idxFirstDown(int &, int &) const
-{
- return false;
-}
-
-
void MathInset::idxDelete(int &, bool & popit, bool & deleteit)
{
popit = false;
{}
-bool MathInset::idxLastUp(int &, int &) const
-{
- return false;
-}
-
-
-bool MathInset::idxLastDown(int &, int &) const
-{
- return false;
-}
-
-
void MathInset::getXY(int & x, int & y) const
{
x = xo();
/// Target pos when we enter the inset from the left by pressing "Right"
virtual bool idxFirst(int & idx, int & pos) const;
- /// Target pos when we enter the inset from the left by pressing "Up"
- virtual bool idxFirstUp(int & idx, int & pos) const;
- /// Target pos when we enter the inset from the left by pressing "Down"
- virtual bool idxFirstDown(int & idx, int & pos) const;
-
/// Target pos when we enter the inset from the right by pressing "Left"
virtual bool idxLast(int & idx, int & pos) const;
- /// Target pos when we enter the inset from the right by pressing "Up"
- virtual bool idxLastUp(int & idx, int & pos) const;
- /// Target pos when we enter the inset from the right by pressing "Down"
- virtual bool idxLastDown(int & idx, int & pos) const;
/// Where should we go if we press home?
virtual bool idxHome(int & idx, int & pos) const;
if (data_.empty())
return;
- math_font_max_dim(LM_TC_TEXTRM, LM_ST_TEXT, ascent_, descent_);
+ math_font_max_dim(LM_TC_TEXTRM, st, ascent_, descent_);
width_ = 0;
//lyxerr << "MathXArray::metrics(): '" << data_ << "'\n";