added: #selectAllInitially
authorClaus Gittinger <cg@exept.de>
Wed, 11 Nov 2009 22:26:58 +0100
changeset 4102 5942099d92ce
parent 4101 af694bc33754
child 4103 da86efba9618
added: #selectAllInitially
EditField.st
--- a/EditField.st	Wed Nov 11 22:26:49 2009 +0100
+++ b/EditField.st	Wed Nov 11 22:26:58 2009 +0100
@@ -2267,6 +2267,15 @@
     "Modified: 28.2.1997 / 19:16:21 / cg"
 !
 
+selectAllInitially
+    "select the whole text. This is called only once during the initialization
+     for editFields which are shown in a table or tree.
+     The selectAll is called via this method to allow for easier redefinition and
+     to distinguish auto-select from user-initiated selects."
+
+    self selectAll
+!
+
 validateNewSelection
     "make certain that only one line is ever selected"
 
@@ -2280,9 +2289,9 @@
 !EditField class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libwidg/EditField.st,v 1.211 2009-11-11 16:59:48 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libwidg/EditField.st,v 1.212 2009-11-11 21:26:58 cg Exp $'
 !
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libwidg/EditField.st,v 1.211 2009-11-11 16:59:48 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libwidg/EditField.st,v 1.212 2009-11-11 21:26:58 cg Exp $'
 ! !