On Sun, 13 May 2007 09:37:21 +1000, "Neil Hodgson"
<[EMAIL PROTECTED]> wrote:

> Enrico Tröger:
> 
> > Of course, I should have checked this. So, I created a patch to have
> > different target lists for copy and for paste.
> 
>    Committed together with the other drag and drop changes.
Thanks.

I just discovered that my patch worked for CLIPBOARD but not for
PRIMARY. So, when selected text is pasted in other apps(like
OpenOffice) it is still interpreted as an URI. Attached patch solves
this by setting the correct target list (hopefully I didn't missed
again any side effects ;-)).

One problem is still remaining:
Now, pasting the PRIMARY clipboard is working for OpenOffice but it
still doesn't work e.g. for aterm. I have no idea why. Any ideas?

Regards,
Enrico

-- 
Get my GPG key from http://www.uvena.de/pub.key

Index: gtk/ScintillaGTK.cxx
===================================================================
RCS file: /cvsroot/scintilla/scintilla/gtk/ScintillaGTK.cxx,v
retrieving revision 1.174
diff -r1.174 ScintillaGTK.cxx
773c773
< 	                          clipboardPasteTargets, nClipboardPasteTargets);
---
> 	                          clipboardCopyTargets, nClipboardCopyTargets);

Attachment: pgpZ0KcpAKLZX.pgp
Description: PGP signature

_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest

Reply via email to