}
-bool MathScriptInset::covers(int x, int y) const
-{
- for (idx_type i = 0; i < 2; ++i)
- if (has(i) && xcell(i).covers(x, y))
- return true;
- return false;
-}
-
-
int MathScriptInset::dy0(MathInset const * nuc) const
{
int nd = ndes(nuc);
}
-bool MathScriptInset::idxFirstUp(idx_type & idx, pos_type & pos) const
-{
- if (!hasUp())
- return false;
- idx = 1;
- pos = 0;
- return true;
-}
-
-
-bool MathScriptInset::idxFirstDown(idx_type & idx, pos_type & pos) const
-{
- if (!hasDown())
- return false;
- idx = 0;
- pos = 0;
- return true;
-}
-
-
-bool MathScriptInset::idxLastUp(idx_type & idx, pos_type & pos) const
-{
- if (!hasUp())
- return false;
- idx = 1;
- pos = up().data_.size();
- return true;
-}
-
-
-bool MathScriptInset::idxLastDown(idx_type & idx, pos_type & pos) const
-{
- if (!hasDown())
- return false;
- idx = 0;
- pos = down().data_.size();
- return true;
-}
-
-
void MathScriptInset::write(WriteStream & os) const
{
//lyxerr << "unexpected call to MathScriptInset::write()\n";
os << "\\limits ";
}
} else
- if (os.firstitem)
+ if (os.firstitem())
lyxerr << "suppressing {} \n";
else
os << "{}";