[squeak-dev] The Trunk: ToolBuilder-Morphic-mt.286.mcz
commits at source.squeak.org
commits at source.squeak.org
Mon Jan 24 10:55:48 UTC 2022
Marcel Taeumel uploaded a new version of ToolBuilder-Morphic to project The Trunk:
http://source.squeak.org/trunk/ToolBuilder-Morphic-mt.286.mcz
==================== Summary ====================
Name: ToolBuilder-Morphic-mt.286
Author: mt
Time: 24 January 2022, 11:55:43.641852 am
UUID: 79c4f1ff-6335-4944-bf47-4539dbded3ff
Ancestors: ToolBuilder-Morphic-ct.285
Avoid side-effects when initializing a workspace for edit-string operations. We might want to add a class-side constructor for that...
=============== Diff against ToolBuilder-Morphic-ct.285 ===============
Item was changed:
----- Method: MorphicUIManager>>edit:label:shouldStyle:accept: (in category 'ui requests') -----
edit: aText label: labelString shouldStyle: aBoolean accept: anAction
"Open an editor on the given string/text. Note that we do not send #open but #new to avoid any default actions to be configured."
| workspace |
+ self halt.
workspace := Workspace new
shouldStyle: aBoolean;
+ contents: aText;
- acceptContents: aText;
acceptAction: anAction.
^ workspace openLabel: (labelString ifNil: [workspace labelString])!
More information about the Squeak-dev
mailing list
|