diff --git a/src/mathed/ChangeLog b/src/mathed/ChangeLog index cd15306aa2..17cb0843af 100644 --- a/src/mathed/ChangeLog +++ b/src/mathed/ChangeLog @@ -1,3 +1,9 @@ +2005-04-09 Martin Vermeer + + * math_gridinset.C (doDispatch): + * math_nestinset.C (doDispatch): enable HOME/END keys to skip + out of inset (adding cur.undispatched()) + 2005-04-09 Martin Vermeer * math_colorinset.C (draw): fix crash and cursor positioning. diff --git a/src/mathed/math_gridinset.C b/src/mathed/math_gridinset.C index 566b9e6473..955477ae7d 100644 --- a/src/mathed/math_gridinset.C +++ b/src/mathed/math_gridinset.C @@ -1210,6 +1210,7 @@ void MathGridInset::doDispatch(LCursor & cur, FuncRequest & cmd) cur.pos() = 0; } else { cmd = FuncRequest(LFUN_FINISHED_LEFT); + cur.undispatched(); } break; @@ -1230,6 +1231,7 @@ void MathGridInset::doDispatch(LCursor & cur, FuncRequest & cmd) cur.pos() = cur.lastpos(); } else { cmd = FuncRequest(LFUN_FINISHED_RIGHT); + cur.undispatched(); } break; diff --git a/src/mathed/math_nestinset.C b/src/mathed/math_nestinset.C index 79ca87f779..687497f66e 100644 --- a/src/mathed/math_nestinset.C +++ b/src/mathed/math_nestinset.C @@ -555,6 +555,7 @@ void MathNestInset::doDispatch(LCursor & cur, FuncRequest & cmd) cur.pos() = 0; } else { cmd = FuncRequest(LFUN_FINISHED_LEFT); + cur.undispatched(); } break; @@ -575,6 +576,7 @@ void MathNestInset::doDispatch(LCursor & cur, FuncRequest & cmd) cur.pos() = cur.lastpos(); } else { cmd = FuncRequest(LFUN_FINISHED_RIGHT); + cur.undispatched(); } break;