* Moving up from lower index shouldn't depend on existance of upper (and other

way round), OK by Uwe and Abdel


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18567 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Stefan Schimanski 2007-05-29 20:41:31 +00:00
parent 6522da9571
commit 2c1c1b07a0

View File

@ -484,7 +484,7 @@ bool InsetMathScript::idxUpDown(Cursor & cur, bool up) const
}
// Are we 'up'?
if (has(up) && cur.idx() == idxOfScript(true)) {
if (cur.idx() == idxOfScript(true)) {
// can't go further up
if (up)
return false;
@ -495,7 +495,7 @@ bool InsetMathScript::idxUpDown(Cursor & cur, bool up) const
}
// Are we 'down'?
if (has(up) && cur.idx() == idxOfScript(false)) {
if (cur.idx() == idxOfScript(false)) {
// can't go further down
if (!up)
return false;