[squeak-dev] The Trunk: ToolBuilder-Morphic-ct.237.mcz

commits at source.squeak.org commits at source.squeak.org
Mon Aug 19 15:00:17 UTC 2019


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

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

Name: ToolBuilder-Morphic-ct.237
Author: ct
Time: 14 August 2019, 11:21:35.4994 pm
UUID: 5a28f72b-4958-fb43-90f3-25ea682508c5
Ancestors: ToolBuilder-Morphic-mt.236

MorphicUIManager: Add overloaded version to set styling for editing

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

Item was changed:
  ----- Method: MorphicUIManager>>edit:label:accept: (in category 'ui requests') -----
  edit: aText label: labelString accept: anAction
  	"Open an editor on the given string/text"
+ 	^ self edit: aText label: labelString shouldStyle: false accept: anAction!
- 	| window |
- 	window := Workspace open.
- 	labelString ifNotNil: [ window setLabel: labelString ].
- 	"By default, don't style in UIManager edit: requests"
- 	window model
- 		shouldStyle: false;
- 		acceptContents:  aText;
- 		acceptAction: anAction.
- 	^ window!

Item was added:
+ ----- 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"
+ 	| window |
+ 	window := Workspace open.
+ 	labelString ifNotNil: [ window setLabel: labelString ].
+ 	"By default, don't style in UIManager edit: requests"
+ 	window model
+ 		shouldStyle: aBoolean;
+ 		acceptContents:  aText;
+ 		acceptAction: anAction.
+ 	^ window!



More information about the Squeak-dev mailing list