>>>>> "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes:

Andre> This was not exactly flawless in 1.3 and nontrivial to track so
Andre> I originally completely removed this in 1.4. In Paris, Juergen
Andre> decided that the feature is necessary and re-implemented it
Andre> from scratch.

I propose to use the following patch for now. The only remaining
glitch I could find is that it is possible to put the cursor in front
of a displayed inset, but I think this will be good enough for now.

Thoughts?

JMarc

Index: src/ChangeLog
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/ChangeLog,v
retrieving revision 1.2309
diff -u -p -r1.2309 ChangeLog
--- src/ChangeLog	25 Oct 2005 09:14:10 -0000	1.2309
+++ src/ChangeLog	25 Oct 2005 09:59:21 -0000
@@ -1,3 +1,7 @@
+2005-10-25  Jean-Marc Lasgouttes  <[EMAIL PROTECTED]>
+
+	* text.C (insertChar): do not reset boundary (bug 2061)
+
 2005-10-24  Jean-Marc Lasgouttes  <[EMAIL PROTECTED]>
 
 	* dociterator.C (updateInsets): new method. Updates the inset_
Index: src/text.C
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/text.C,v
retrieving revision 1.632
diff -u -p -r1.632 text.C
--- src/text.C	13 Oct 2005 14:48:25 -0000	1.632
+++ src/text.C	25 Oct 2005 09:59:21 -0000
@@ -1187,8 +1187,7 @@ void LyXText::insertChar(LCursor & cur, 
 
 	current_font = rawtmpfont;
 	real_current_font = realtmpfont;
-	//setCursor(cur, cur.pit(), cur.pos() + 1, false, cur.boundary());
-	setCursor(cur, cur.pit(), cur.pos() + 1, false, true);
+	setCursor(cur, cur.pit(), cur.pos() + 1, false, cur.boundary());
 	charInserted();
 }
 

Reply via email to