Mael Hilléreau wrote:
Selon Richard Heck <[EMAIL PROTECTED]>:

Can anyone confirm the bug on other platforms?

Yes, I see this on Linux, too. I think the solution is to override
notifyCursorLeaves() in InsetText, and then require an update on wide().

If I follow you (not completely sure), what you propose is in the attached
patch. That works for me. What do you think about it?
I'm not expert with this code, but I think that updateFlags will overwrite whatever was previously there. So we need something like:
   virtual bool InsetText::notifyCursorLeaves(Cursor & cur) {
      if(wide()) {
         Update::flags tmp = cur.updateFlags();
         tmp |= Update::Force;
         cur.updateFlags(tmp);
       return false;
   }
But someone with more knowledge of this should look at it.

I'd suggest starting a new thread with some version of this patch.

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

Reply via email to