ctrl-paste-menu pastes the selection (xterm);
authorClaus Gittinger <cg@exept.de>
Tue, 25 Mar 2003 22:12:13 +0100
changeset 2719 05ccd903ce9b
parent 2718 3bba07156a81
child 2720 0358840e2be6
ctrl-paste-menu pastes the selection (xterm); regular paste pastes the clipBoard.
EditTextView.st
--- a/EditTextView.st	Mon Mar 24 19:01:06 2003 +0100
+++ b/EditTextView.st	Tue Mar 25 22:12:13 2003 +0100
@@ -4410,6 +4410,11 @@
     device shiftDown ifTrue:[
         ^ self getTextSelectionFromHistory
     ].
+    "/ that returns the (xterm-) selection
+    device ctrlDown ifTrue:[
+        ^ self getTextSelection:#selection
+    ].
+    "/ that returns the clipBoard
     ^ self getTextSelection
 !
 
@@ -5454,5 +5459,5 @@
 !EditTextView class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libwidg/EditTextView.st,v 1.296 2003-03-21 17:20:39 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libwidg/EditTextView.st,v 1.297 2003-03-25 21:12:13 cg Exp $'
 ! !