2 * \file InsetMathFracBase.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 "InsetMathFracBase.h"
21 InsetMathFracBase::InsetMathFracBase()
26 bool InsetMathFracBase::idxRight(LCursor &) const
32 bool InsetMathFracBase::idxLeft(LCursor &) const
38 bool InsetMathFracBase::idxUpDown(LCursor & cur, bool up) const
40 InsetMath::idx_type target = !up; // up ? 0 : 1, since upper cell has idx 0
41 if (cur.idx() == target)
44 cur.pos() = cell(target).x2pos(cur.x_target());