The attached patch (from Johnathan again) fixes the most important part of bug 
1255 (cursor sticks). There are still two blanks, but they get deleted by 
DESM when the cursor is being moved to that place.

Can I apply it?

Jürgen
Index: text2.C
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/text2.C,v
retrieving revision 1.601
diff -u -r1.601 text2.C
--- text2.C	25 Feb 2005 11:55:35 -0000	1.601
+++ text2.C	4 Mar 2005 18:00:23 -0000
@@ -1129,6 +1129,10 @@
 		    && old.pos() < oldpar.size()
 		    && oldpar.isLineSeparator(old.pos())
 		    && oldpar.isLineSeparator(old.pos() - 1)) {
+			// We need to set the text to Change::INSERTED to
+			// get it erased properly
+			pars_[old.pit()].setChange(old.pos() -1,
+				Change::INSERTED);
 			pars_[old.pit()].erase(old.pos() - 1);
 #ifdef WITH_WARNINGS
 #warning This will not work anymore when we have multiple views of the same buffer

Reply via email to