#DOCUMENTATION by cg
authorClaus Gittinger <cg@exept.de>
Fri, 27 Apr 2018 12:10:05 +0200
changeset 6312 5c43cfe6809c
parent 6311 c7610420a3ae
child 6313 6bf4e512ddb9
#DOCUMENTATION by cg class: TextView comment/format in: #setPrimarySelection
TextView.st
--- a/TextView.st	Tue Apr 24 10:43:01 2018 +0200
+++ b/TextView.st	Fri Apr 27 12:10:05 2018 +0200
@@ -5271,9 +5271,10 @@
     "can be redefined for notification or special actions"
 
     device notNil ifTrue:[
-        "On X11, be nice and set the PRIMARY selection.
+        "On X11, be nice and set the PRIMARY selection;
+         this can be pasted with the middle button into an xpterm.
          (#setPrimaryText:ownerView: is void in DeviceWorkstation)"
-        device setPrimaryText: self selectionAsString ownerView: self.
+        device setPrimaryText:(self selectionAsString) ownerView: self.
     ].
 
     "Created: / 17-04-2012 / 20:59:32 / Jan Vrany <jan.vrany@fit.cvut.cz>"