# HG changeset patch # User mawalch # Date 1494925008 -7200 # Node ID e5d3a0e5404f91878309de1781de65e2b29b228d # Parent c448593ab6eea2fcac16727625539f7edc717624 #DOCUMENTATION by mawalch class: Menu comment/format in: #atNameKey:ifPresentDo: Typo. diff -r c448593ab6ee -r e5d3a0e5404f Menu.st --- a/Menu.st Tue Apr 11 17:06:58 2017 +0200 +++ b/Menu.st Tue May 16 10:56:48 2017 +0200 @@ -1,3 +1,5 @@ +"{ Encoding: utf8 }" + " COPYRIGHT (c) 1997 by eXept Software AG All Rights Reserved @@ -244,7 +246,7 @@ ! atNameKey:aNameKey ifPresentDo:aBlock - "look for a menuItem withthe given nameKey. If one is found, aBlock is evaluated for it. + "look for a menuItem with the given nameKey. If one is found, aBlock is evaluated for it. If not, nothing is done. Searches in allItems (i.e. also in subMenus). Returns the item or nil." @@ -255,6 +257,8 @@ aBlock value:item. ]. ^ item + + "Modified (comment): / 16-05-2017 / 10:55:03 / mawalch" ! groupSizes