[Cuis-dev] Changeset for StandardFileMenu

Hilaire Fernandes hfern at free.fr
Fri Jul 28 04:24:29 PDT 2023


Improvment suggest by Ken

 > Needed guard for nil patString..

Thanks

Le 26/07/2023 à 00:06, Hilaire Fernandes via Cuis-dev a écrit :
>
> Hi,
>
> I refactored the class and add the following behaviors:
>
>   * insert an excludePattern to exclude directories and files. Handy
>     for invisible files/directories starting with a dot
>   * sort the directories and files in the menu
>   * refactored the code and improve understanding
>
> Hilaire
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20230728/b1414f41/attachment.htm>
-------------- next part --------------
'From Cuis 6.0 [latest update: #5957] on 27 July 2023 at 12:22:35 pm'!

!StandardFileMenu methodsFor: 'pattern' stamp: 'KenD 7/27/2023 12:19:08'!
excludePattern: patString
" See method pattern: "

	excludePattern := patString ifNotNil: [ patString substrings ]! !


More information about the Cuis-dev mailing list