In st80, there was also a nice feature: * and ? would also apply to any part of the hierarchy<br>like: /home/nice/squeak/*/*.cs<br><br>Nicolas<br><br><div class="gmail_quote">2009/10/7 Bert Freudenberg <span dir="ltr">&lt;<a href="mailto:bert@freudenbergs.de">bert@freudenbergs.de</a>&gt;</span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im"><br>
On 07.10.2009, at 17:41, Andreas Raab wrote:<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
&gt; What do others think.<br>
<br>
Two thoughts: First, I would only consider the last portion a pattern if it includes a wild card (there is little point in having a wild card that matches at most one file I think).<br>
</blockquote>
<br></div>
IMHO if there is neither a directory given nor a wild card, a substring search should be performed.<br><font color="#888888">
<br>
- Bert -</font><div><div></div><div class="h5"><br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Secondly, I would walk the tree and select the directory &quot;closest to&quot; the chosen input. Meaning that if there&#39;s a typo you end up as close as we can make it to the chosen location.<br>
<br>
Cheers,<br>
 - Andreas<br>
<br>
Torsten Bergmann wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
The new File list is nice, but it still has a problem<br>
with the selection in the tree after typing.<br>
On win32 if one types C:\temp and hits ENTER the folder is not selected in the tree. If one enters C:\temp\ and ENTER it is selected. I think both options should be possible (since this is similar behavior as in Windows Explorer, and yes I&#39;m biased). The reason is that anything after the &quot;pathNameDelimiter&quot;<br>

is always identified as pattern.<br>
See implementation in FileList&gt;&gt;pathAndPattern:<br>
One possible solution could to check first if a subdirectory<br>
with the extracted pattern exists<br>
&quot;(FileDirectory on: base) fileOrDirectoryExists: pat&quot;<br>
and react accordingly (ignore it as pattern and add it to the<br>
base).<br>
What do others think. Bye<br>
T.<br>
</blockquote>
<br>
<br>
</blockquote>
<br>
<br>
</div></div></blockquote></div><br>