The attached patch restores the 1.3-behaviour of the ESC key within an inset: 
Move cursor behind that inset (not in front, as it is now).

OK to commit?
Jürgen
Index: text3.C
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/text3.C,v
retrieving revision 1.307
diff -u -r1.307 text3.C
--- text3.C	16 Sep 2005 10:06:09 -0000	1.307
+++ text3.C	26 Sep 2005 17:28:49 -0000
@@ -1515,7 +1515,7 @@
 			cur.selection() = false;
 		} else {
 			cur.undispatched();
-			cmd = FuncRequest(LFUN_FINISHED_LEFT);
+			cmd = FuncRequest(LFUN_FINISHED_RIGHT);
 		}
 		break;
 
Index: mathed/math_nestinset.C
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/mathed/math_nestinset.C,v
retrieving revision 1.169
diff -u -r1.169 math_nestinset.C
--- mathed/math_nestinset.C	26 Sep 2005 11:14:59 -0000	1.169
+++ mathed/math_nestinset.C	26 Sep 2005 17:28:54 -0000
@@ -630,7 +630,7 @@
 		if (cur.selection())
 			cur.clearSelection();
 		else  {
-			cmd = FuncRequest(LFUN_FINISHED_LEFT);
+			cmd = FuncRequest(LFUN_FINISHED_RIGHT);
 			cur.undispatched();
 		}
 		break;

Reply via email to