[squeak-dev] The Trunk: ToolBuilder-Morphic-mt.276.mcz

commits at source.squeak.org commits at source.squeak.org
Tue May 18 11:55:53 UTC 2021


Marcel Taeumel uploaded a new version of ToolBuilder-Morphic to project The Trunk:
http://source.squeak.org/trunk/ToolBuilder-Morphic-mt.276.mcz

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

Name: ToolBuilder-Morphic-mt.276
Author: mt
Time: 18 May 2021, 1:55:52.205287 pm
UUID: 8fd06e0a-20b0-3d41-bf57-4e5dfcc69f87
Ancestors: ToolBuilder-Morphic-mt.275

Fix custom invocation of Workspace for string edit to not use the public interface for opening a workspace. (This is a minor regression since the addiction of #embedTranscript earlier this month.)

=============== Diff against ToolBuilder-Morphic-mt.275 ===============

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"
+ 
+ 	| workspace |
+ 	workspace := Workspace new
- 	| window |
- 	window := Workspace open.
- 	labelString ifNotNil: [ window setLabel: labelString ].
- 	window model
  		shouldStyle: aBoolean;
  		acceptContents:  aText;
  		acceptAction: anAction.
+ 	^ workspace openLabel: (labelString ifNil: [workspace labelString])!
- 	^ window!



More information about the Squeak-dev mailing list