Am Donnerstag, 1. Juni 2006 22:20 schrieb Edwin Leuven:
> it looks like this whole clipboard thing needs a serious overhaul (small
> cosmetics is not really worth the trouble i think).
>
> i agree with one of the bugzilla posters that lyx's copy/paste behavior
> is a mayor annoyance and probably
it looks like this whole clipboard thing needs a serious overhaul (small
cosmetics is not really worth the trouble i think).
i agree with one of the bugzilla posters that lyx's copy/paste behavior
is a mayor annoyance and probably confusing for many. i am not sure i
have the skills to repair t
thanks, will investigate...
Georg Baum wrote:
Edwin Leuven wrote:
atm copy paste primary selection (ie from outside lyx) doesn't work for me
the attached solves it
does this look ok?
Unfortunately not ;-( getClipboard() is misnamed, it really acts like a
hypotheticaal getSelection(), becau
Georg Baum wrote:
IIRC it is not needed in the windows case, because \r is ignored later in
the copy/paste code,
not when i paste into tabulars though...
Abdelrazak Younes wrote:
>> Perhaps you should factor the code into a utility function? Maybe even
>> into fromqstr inself?
>
> Yes, I wanted to do that for a long time.
IIRC it is not needed in the windows case, because \r is ignored later in
the copy/paste code, but the other way round (\r ->
Angus Leeming wrote:
#ifdef Q_WS_MACX
// The MAC clipboard uses \r for lineendings, and we use \n
return subst(fromqstr(str), '\r', '\n');
+#endif
+#ifdef Q_WS_WIN
+ // The WIN clipboard uses \r\n for lineendings, and we use \n
+ return subst(fromqstr(str), "\r\n", "\
Edwin Leuven <[EMAIL PROTECTED]> writes:
> atm copy paste primary selection (ie from outside lyx) doesn't work for me
> the attached solves it
> does this look ok?
I see Georg has given you the "big picture" answer, so I'll restrict myself to
the comment that your patch hardcodes this in a couple
Edwin Leuven wrote:
> atm copy paste primary selection (ie from outside lyx) doesn't work for me
>
> the attached solves it
>
> does this look ok?
Unfortunately not ;-( getClipboard() is misnamed, it really acts like a
hypotheticaal getSelection(), because it is used for
middle-mouse-button-cop
Edwin Leuven wrote:
atm copy paste primary selection (ie from outside lyx) doesn't work for me
the attached solves it
does this look ok?
I don't know but in any case your patch will conflict with mine. As I
was first, please wait until I put it in ;-)
Thanks,
Abdel.
atm copy paste primary selection (ie from outside lyx) doesn't work for me
the attached solves it
does this look ok?
thanks
Index: QWorkArea.C
===
--- QWorkArea.C (revision 13976)
+++ QWorkArea.C (working copy)
@@ -50,6 +50,11 @@
10 matches
Mail list logo