On Thu, 2007-07-26 at 23:04 -0500, Bo Peng wrote:
> On 7/26/07, Bo Peng <[EMAIL PROTECTED]> wrote:
> > > Going the other way is even worse - mark something in
> > > LyX 1.5.0 (released) and you (usually) can't paste it into thunderbird.
> 
> Could you please test the attached patch?
> 
> JMarc and I tried to move numerous haveSelection calls to some
> 'source' locations, and we obviously missed some cases.

I have been testing in the 1.5.x-svn for a while and whilst I haven't
checked if it is a complete fix, I haven't had any new problems either.

Can I revert this patch shortly? I like my working dir to be in sync
with the repository. Is it possible this needs to be propagated from
trunk to 1.5 branch?

Have fun,
Darren

Index: src/insets/InsetTabular.cpp
===================================================================
--- src/insets/InsetTabular.cpp (revision 19221)
+++ src/insets/InsetTabular.cpp (working copy)
@@ -3490,6 +3490,7 @@
                cell(cur.idx())->dispatch(cur, cmd);
                break;
        }
+       theSelection().haveSelection(bvcur.selection());
 }
 
 
Index: src/Text3.cpp
===================================================================
--- src/Text3.cpp       (revision 19221)
+++ src/Text3.cpp       (working copy)
@@ -1586,6 +1586,7 @@
        }
 
        needsUpdate |= (cur.pos() != cur.lastpos()) && cur.selection();
+       theSelection().haveSelection(bv->cursor().selection());
 
        // FIXME: The cursor flag is reset two lines below
        // so we need to check here if some of the LFUN did touch that.


Reply via email to