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

Marcel Taeumel marcel.taeumel at hpi.de
Thu Jul 14 07:19:43 UTC 2022

Hi Eliot --

>  to make balloon help easier to format/read.

Note that help text should use only semantic line breaks, e.g., for bullet points or paragraph separation. Other breaks will happen automatically. Same for dialog texts. Then, rendering will look nice for all those different fonts or scale factors. :-)

Am 14.07.2022 01:29:03 schrieb commits at source.squeak.org <commits at source.squeak.org>:
Eliot Miranda uploaded a new version of ToolBuilder-Kernel to project The Trunk:

==================== 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 ( ).. 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]]]!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20220714/aeac7fbb/attachment.html>

More information about the Squeak-dev mailing list