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

commits at source.squeak.org commits at source.squeak.org
Mon Dec 6 19:08:21 UTC 2021

Christoph Thiede uploaded a new version of Morphic to project The Trunk:

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

Name: Morphic-ct.1815
Author: ct
Time: 6 December 2021, 8:07:40.28366 pm
UUID: 855eb235-5266-de43-9d61-bc73e9ab0192
Ancestors: Morphic-ct.1814

Be even more robust in TextEditor >> #spawn than originally attempted in Morphic-ct.1760. Treats Tools-ct.969 (spawn from Transcript).

=============== Diff against Morphic-ct.1814 ===============

Item was changed:
  ----- Method: TextEditor>>spawn (in category 'menu messages') -----
  	"Create and schedule a message browser for the code of the model's 
  	selected message. Retain any edits that have not yet been accepted."
  	| code |
  	code := paragraph text string.
  	self cancel.
+ 	(model respondsTo: #spawn:)
+ 		ifTrue: [model spawn: code]
+ 		ifFalse: [Project uiManager edit: code].!
- 	model
- 		ifNotNil: [model spawn: code]
- 		ifNil: [Project uiManager edit: code].!

More information about the Squeak-dev mailing list