2 * \file math_fracbase.C
3 * This file is part of LyX, the document processor.
4 * Licence details can be found in the file COPYING.
8 * Full author contact details are available in file CREDITS.
13 #include "math_fracbase.h"
14 #include "math_data.h"
18 MathFracbaseInset::MathFracbaseInset()
23 bool MathFracbaseInset::idxRight(LCursor &) const
29 bool MathFracbaseInset::idxLeft(LCursor &) const
35 bool MathFracbaseInset::idxUpDown(LCursor & cur, bool up) const
37 MathInset::idx_type target = !up; // up ? 0 : 1, since upper cell has idx 0
38 if (cur.idx() == target)
41 cur.pos() = cell(target).x2pos(cur.x_target());