[squeak-dev] The Inbox: ToolBuilder-Morphic-ct.228.mcz

commits at source.squeak.org commits at source.squeak.org
Sun Jul 7 17:57:35 UTC 2019

A new version of ToolBuilder-Morphic was added to project The Inbox:

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

Name: ToolBuilder-Morphic-ct.228
Author: ct
Time: 7 July 2019, 7:57:32.634178 pm
UUID: fa6c1281-afb6-d34d-aeb4-ca2428d2c2d8
Ancestors: ToolBuilder-Morphic-pre.227

Add optional parameter for the #aboutToStyle: call

You can now, optionally, implement #aboutToStyle:forMorph: instead of #aboutToStyle:.

=============== Diff against ToolBuilder-Morphic-pre.227 ===============

Item was changed:
  ----- Method: PluggableTextMorphPlus>>okToStyle (in category 'testing') -----
  	^ styler
+ 		ifNotNil: [:s | (model class canUnderstand: #aboutToStyle:forMorph:)
+ 			ifTrue: [model aboutToStyle: s forMorph: self]
+ 			ifFalse: [model aboutToStyle: s]]!
- 		ifNotNil: [:s | model aboutToStyle: s]!

More information about the Squeak-dev mailing list