[squeak-dev] FileList set wildcard when pattern is empty string

Baveco, Hans Hans.Baveco at wur.nl
Thu Mar 18 10:32:52 UTC 2010


Attached a one-line addition to FileList<<pattern:
When the pattern is set by the user to an empty string, e.g. by typing
C:\squeak\ it will now be automatically changed to '*' (thus
c:\squeak\*). This assumes that the intention of the user is to see all
files in C:\squeak\, and not to see no file at all.... Don't know
whether this is ok for other platforms than windows, though.

Hans

-------------- next part --------------
A non-text attachment was scrubbed...
Name: FileList-pattern.st
Type: application/octet-stream
Size: 378 bytes
Desc: FileList-pattern.st
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20100318/8b4e0154/FileList-pattern.obj


More information about the Squeak-dev mailing list