From: Jürgen Spitzmüller Date: Tue, 27 Sep 2005 08:42:28 +0000 (+0000) Subject: leave inset to the right when hitting ESC (bug 2034) X-Git-Tag: 1.6.10~13884 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=cc4af55608084d06dcfb2fb379394f282cf1c377;p=features.git leave inset to the right when hitting ESC (bug 2034) git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10488 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/ChangeLog b/src/ChangeLog index 8e0ec6ab6d..752c5c0bea 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2005-09-27 Jürgen Spitzmüller + + * text3.C (dispatch): leave inset to the right when hitting ESC. + 2005-09-23 Jean-Marc Lasgouttes * text2.C: diff --git a/src/mathed/ChangeLog b/src/mathed/ChangeLog index 345a9015dd..9d148cedd4 100644 --- a/src/mathed/ChangeLog +++ b/src/mathed/ChangeLog @@ -1,3 +1,7 @@ +2005-09-27 Jürgen Spitzmüller + + * math_nestinset.C (doDispatch): leave inset to the right when hitting ESC. + 2005-09-27 Jürgen Spitzmüller * math_nestinset.C (doDispatch): record LFUN_CUT in undo stack diff --git a/src/mathed/math_nestinset.C b/src/mathed/math_nestinset.C index 45b57f3b32..3f1e5a808c 100644 --- a/src/mathed/math_nestinset.C +++ b/src/mathed/math_nestinset.C @@ -630,7 +630,7 @@ void MathNestInset::doDispatch(LCursor & cur, FuncRequest & cmd) if (cur.selection()) cur.clearSelection(); else { - cmd = FuncRequest(LFUN_FINISHED_LEFT); + cmd = FuncRequest(LFUN_FINISHED_RIGHT); cur.undispatched(); } break; diff --git a/src/text3.C b/src/text3.C index 20940bf7ef..5786a51e97 100644 --- a/src/text3.C +++ b/src/text3.C @@ -1515,7 +1515,7 @@ void LyXText::dispatch(LCursor & cur, FuncRequest & cmd) cur.selection() = false; } else { cur.undispatched(); - cmd = FuncRequest(LFUN_FINISHED_LEFT); + cmd = FuncRequest(LFUN_FINISHED_RIGHT); } break;