the font is not set when navigating with cursor up/down.

This seems to cure it.

Alfredo
Index: text2.C
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/text2.C,v
retrieving revision 1.554
diff -u -p -u -r1.554 text2.C
--- text2.C	8 Mar 2004 21:14:43 -0000	1.554
+++ text2.C	10 Mar 2004 11:45:31 -0000
@@ -1293,10 +1293,7 @@ void LyXText::setCursorFromCoordinates(L
 	bool bound = false;
 	int xx = x + xo_; // getRowNearX get absolute x coords
 	pos_type const pos = row.pos() + getColumnNearX(pit, row, xx, bound);
-	cur.par() = parOffset(pit);
-	cur.pos() = pos;
-	cur.boundary() = bound;
-	deleteEmptyParagraphMechanism(cur.top(), old_cursor);
+	setCursor(cur, parOffset(pit), pos, true, bound);
 }
 
 

Reply via email to