The Inbox: ToolBuilder-Morphic-ct.237.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Inbox: ToolBuilder-Morphic-ct.237.mcz

commits-2
A new version of ToolBuilder-Morphic was added to project The Inbox:
http://source.squeak.org/inbox/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!