--- a/EnterBox.st Tue Oct 01 17:03:20 2002 +0200
+++ b/EnterBox.st Tue Oct 01 17:13:20 2002 +0200
@@ -325,7 +325,9 @@
entryCompletionBlock:aBlock
"define an entryCompletion block; if nonNil, that one
is evaluated if TAB is pressed in the field and should
- try to complete the input.
+ try to complete the input.
+ The block gets the current contents and the field itself as optional arguments
+ (i.e. it can be a 0, 1 or 2-arg block).
Typically used with fileName-boxes."
enterField entryCompletionBlock:aBlock
@@ -690,5 +692,5 @@
!EnterBox class methodsFor:'documentation'!
version
- ^ '$Header: /cvs/stx/stx/libwidg/EnterBox.st,v 1.57 2002-07-18 09:25:02 cg Exp $'
+ ^ '$Header: /cvs/stx/stx/libwidg/EnterBox.st,v 1.58 2002-10-01 15:13:20 cg Exp $'
! !