doubleClickX:y: + ctrl: st80 behavior
authorClaus Gittinger <cg@exept.de>
Tue, 22 Apr 2008 17:32:15 +0200
changeset 3587 8685721a709f
parent 3586 8ca9325e2159
child 3588 a70267e5b501
doubleClickX:y: + ctrl: st80 behavior
TextView.st
--- a/TextView.st	Tue Apr 22 12:55:27 2008 +0200
+++ b/TextView.st	Tue Apr 22 17:32:15 2008 +0200
@@ -1271,7 +1271,7 @@
 
     |sel ch matchCol scanCol fwdScan fwdSelect|
 
-    self st80SelectMode ifTrue:[
+    (self st80SelectMode or:[ self sensor ctrlDown]) ifTrue:[
         "/ st80 selects:
         "/   if clicked right after a parenthesis -> select to matching parenthesis
         "/   if clicked at beginning of the line  -> select that line
@@ -4067,7 +4067,7 @@
 !TextView class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libwidg/TextView.st,v 1.284 2008-04-04 16:28:40 fm Exp $'
+    ^ '$Header: /cvs/stx/stx/libwidg/TextView.st,v 1.285 2008-04-22 15:32:15 cg Exp $'
 ! !
 
 TextView initialize!