On Thu, 2002-01-24 at 06:15, Dan Bachelder wrote:
> Not this is intellijs problem or anything... but i'll chime in here and
> say that I have also been experiencing inconsistent and frustrating cut
> & paste behavior under Linux & GNOME.. this happens with all Swing apps
> I have used... it's especially painful when I want to use middle-mouse
> button... it seems to have a harder time than ctrl-c/x, ctrl-v.

That's because there are multiple clipboards/selections under X.

IIRC, simply selecting text with the mouse copies that text into the
primary selection.  The middle mouse button pastes the primary
selection.  This is intended to be used for quick copy-paste
operations.  Unfortunately Swing does not support the primary
selection...

You can also copy text into the clipboard selection, which you normally
do using an explicit copy command -- this selection is intended to be
slightly more permanent, and shouldn't be "destroyed" just because you
happen to select some text in a window.  You can copy something to the
clipboard selection by marking the text in Emacs and selecting
Edit/Copy, or by marking it in a Swing application and pressing Ctrl-C. 
You can paste it in a Swing application using Ctrl-V.  I don't think
that xterm supports the clipboard selection, so to copy text from xterm
to Swing you need to either paste it into an intermediate application or
use xcutsel.

Just to make things more interesting, you can have other selections too,
and there's also something called cut buffers that some applications
use...  And if you use Emacs, it has its own "kill ring" that is
accessed with Ctrl-W / Ctrl-Y and which is apparently separate from all
these other copy/paste mechanisms.




_______________________________________________
Eap-list mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-list

Reply via email to