[squeak-dev] The Trunk: ToolBuilder-Kernel-eem.161.mcz

commits at source.squeak.org commits at source.squeak.org
Wed Jul 13 23:28:55 UTC 2022


Eliot Miranda uploaded a new version of ToolBuilder-Kernel to project The Trunk:
http://source.squeak.org/trunk/ToolBuilder-Kernel-eem.161.mcz

==================== Summary ====================

Name: ToolBuilder-Kernel-eem.161
Author: eem
Time: 13 July 2022, 4:28:54.356068 pm
UUID: 7f9d44e6-c980-4c58-8bfe-57108fb8f8e0
Ancestors: ToolBuilder-Kernel-tpr.160

Allow the help in a menu tuple contain \'s for carriage returns, to make balloon help easier to format/read.

=============== Diff against ToolBuilder-Kernel-tpr.160 ===============

Item was changed:
  ----- Method: PluggableMenuSpec>>addList: (in category 'construction') -----
  addList: aList
  	"Add the given items to this menu, where each item is a pair (<string> <actionSelector>)..  If an element of the list is simply the symobl $-, add a line to the receiver.  The optional third element of each entry, if present, provides balloon help."
  
  	aList do: [:tuple |
+ 		tuple == #-
- 		(tuple == #-)
  			ifTrue: [self addSeparator]
  			ifFalse:[ | item |
  				item := self add: tuple first target: model selector: tuple second argumentList: #().
+ 				tuple size > 2 ifTrue:[item help: tuple third withCRs]]]!
- 				tuple size > 2 ifTrue:[item help: tuple third]]]!



More information about the Squeak-dev mailing list