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. Bo
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.