}
-bool InsetMathNest::idxRight(Cursor & cur) const
+bool InsetMathNest::idxForward(Cursor & cur) const
{
return idxNext(cur);
}
}
-bool InsetMathNest::idxLeft(Cursor & cur) const
+bool InsetMathNest::idxBackward(Cursor & cur) const
{
return idxPrev(cur);
}
if (cur.pos() != cur.lastpos() && cur.openable(cur.nextAtom())) {
cur.pushBackward(*cur.nextAtom().nucleus());
cur.inset().idxFirst(cur);
- } else if (cur.posForward() || idxRight(cur)
+ } else if (cur.posForward() || idxForward(cur)
|| cur.popForward() || cur.selection())
;
else {
cur.posBackward();
cur.push(*cur.nextAtom().nucleus());
cur.inset().idxLast(cur);
- } else if (cur.posBackward() || idxLeft(cur)
+ } else if (cur.posBackward() || idxBackward(cur)
|| cur.popBackward() || cur.selection())
;
else {