Attached is a simple patch Mael wrote based on a suggestion of mine for dealing with this bug. It seems to do the trick.

Comments appreciated.

Richard


--
==================================================================
Richard G Heck, Jr
Professor of Philosophy
Brown University
http://frege.brown.edu/heck/
==================================================================
Get my public key from http://sks.keyserver.penguin.de
Hash: 0x1DE91F1E66FFBDEC
Learn how to sign your email using Thunderbird and GnuPG at:
http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto

--- lyx-1.5.1-orig/src/insets/InsetText.h	2007-06-09 15:08:44.000000000 +0200
+++ lyx-1.5.1-patch/src/insets/InsetText.h	2007-08-12 18:33:46.000000000 +0200
@@ -123,13 +123,15 @@ public:
 	/// number of cells in this inset
 	size_t nargs() const { return 1; }
 	///
+	virtual bool notifyCursorLeaves(Cursor & cur) { if(wide()) cur.updateFlags(cur.disp_.update() | Update::Force); return false; }
+	///
 	ParagraphList & paragraphs();
 	///
 	ParagraphList const & paragraphs() const;

Reply via email to