On 7/27/07, Jürgen Spitzmüller <[EMAIL PROTECTED]> wrote:
> Bo Peng wrote:
> > Done.

Ohmm, I accidentally committed the middle-button paste patch as well.
Please test if the middle button paste problems (select/paste between
lyx and other X-applications) has been fixed. If so, the following
should go to the brank, if JMarc also agrees.

Bo

Index: src/insets/InsetTabular.cpp
===================================================================
--- src/insets/InsetTabular.cpp (revision 19223)
+++ src/insets/InsetTabular.cpp (revision 19224)
@@ -3490,6 +3490,7 @@
                cell(cur.idx())->dispatch(cur, cmd);
                break;
        }
+       theSelection().haveSelection(bvcur.selection());
 }
Index: src/Text3.cpp
===================================================================
--- src/Text3.cpp       (revision 19223)
+++ src/Text3.cpp       (revision 19224)
@@ -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