v...@lyx.org schreef:
Author: vfr
Date: Thu Oct 29 22:02:19 2009
New Revision: 31791
URL: http://www.lyx.org/trac/changeset/31791

Log:
Another fix for bug #5061: A slight correction of the patch shown described in 
http://permalink.gmane.org/gmane.editors.lyx.devel/113507.

Modified:
   lyx-devel/trunk/src/Text.cpp

Modified: lyx-devel/trunk/src/Text.cpp
==============================================================================
--- lyx-devel/trunk/src/Text.cpp        Thu Oct 29 14:36:22 2009        (r31790)
+++ lyx-devel/trunk/src/Text.cpp        Thu Oct 29 22:02:19 2009        (r31791)
@@ -915,7 +915,8 @@
        cur.checkBufferStructure();
// cur.updateFlags(Update::Force);
-       bool boundary = tm.isRTLBoundary(cur.pit(), cur.pos() + 1);
+       bool boundary = cur.boundary()
+               || tm.isRTLBoundary(cur.pit(), cur.pos() + 1);
        setCursor(cur, cur.pit(), cur.pos() + 1, false, boundary);
        charInserted(cur);
 }
Juergen,

If you type text right in front of a displayed equation, the cursor will jump in front of the displayed equation each time you enter a character. This fixes this problem. This is a regression introduced by the fix for bug #5061.

to branch ?

Vincent

Reply via email to