[squeak-dev] The Trunk: Morphic-eem.2020.mcz

commits at source.squeak.org commits at source.squeak.org
Wed Jul 13 23:26:20 UTC 2022


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

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

Name: Morphic-eem.2020
Author: eem
Time: 13 July 2022, 4:26:13.938059 pm
UUID: cc442f16-be3a-4aeb-846f-40e0f4fc3d8e
Ancestors: Morphic-mt.2019

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

=============== Diff against Morphic-mt.2019 ===============

Item was changed:
  ----- Method: MenuMorph>>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 addLine]
  			ifFalse:
  				[self add: tuple first action: tuple second.
  				tuple size > 2 ifTrue:
+ 					[self balloonTextForLastItem: tuple third withCRs]]]!
- 					[self balloonTextForLastItem: tuple third]]]!



More information about the Squeak-dev mailing list