]> git.lyx.org Git - features.git/commitdiff
leave inset to the right when hitting ESC (bug 2034)
authorJürgen Spitzmüller <spitz@lyx.org>
Tue, 27 Sep 2005 08:42:28 +0000 (08:42 +0000)
committerJürgen Spitzmüller <spitz@lyx.org>
Tue, 27 Sep 2005 08:42:28 +0000 (08:42 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10488 a592a061-630c-0410-9148-cb99ea01b6c8

src/ChangeLog
src/mathed/ChangeLog
src/mathed/math_nestinset.C
src/text3.C

index 8e0ec6ab6df6818e7ac338d47bfe02f93c6bb14d..752c5c0bea6897aac6fd266f1f3dd3239eefb56f 100644 (file)
@@ -1,3 +1,7 @@
+2005-09-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
+
+       * text3.C (dispatch): leave inset to the right when hitting ESC.
+
 2005-09-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
 
        * text2.C: 
index 345a9015dd7f2adaf024c1137a83ebaf7e876132..9d148cedd465ca7f5fe54824a93cacbce9107b10 100644 (file)
@@ -1,3 +1,7 @@
+2005-09-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
+
+       * math_nestinset.C (doDispatch): leave inset to the right when hitting ESC.
+
 2005-09-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
 
        * math_nestinset.C (doDispatch): record LFUN_CUT in undo stack
index 45b57f3b32106f7955b13a1a0f0cc90359b8340b..3f1e5a808ca07030152b68130ecfab8ae79751cc 100644 (file)
@@ -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;
index 20940bf7ef1487cf8e044dc71bd43c37a4f5aab8..5786a51e9728c5482ab5ba14a484dad22c34b040 100644 (file)
@@ -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;