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"
17 MathFracbaseInset::MathFracbaseInset()
22 bool MathFracbaseInset::idxRight(BufferView &) const
28 bool MathFracbaseInset::idxLeft(BufferView &) const
34 bool MathFracbaseInset::idxUpDown(BufferView & bv, bool up, int targetx) const
36 CursorSlice & cur = cursorTip(bv);
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(targetx);