Marcel Taeumel uploaded a new version of Morphic to project The Trunk:
http://source.squeak.org/trunk/Morphic-mt.1517.mcz==================== Summary ====================
Name: Morphic-mt.1517
Author: mt
Time: 9 September 2019, 10:44:10.260698 am
UUID: 58b37267-f538-1746-a803-c96d6689ee91
Ancestors: Morphic-mt.1516
Fixes regression in StringMorph. Updates post-load script to fix all existing instances.
Makes switching to UI-Themes with different fonts work again.
=============== Diff against Morphic-mt.1516 ===============
Item was changed:
----- Method: StringMorph>>font:emphasis: (in category 'accessing - convenience') -----
font: aFont emphasis: emphasisCode
self
setFont: ((aFont isNil or: [aFont emphasis = emphasisCode] or: [emphasisCode isNil])
ifTrue: [aFont]
ifFalse: [aFont emphasized: emphasisCode])
+ emphasis: (emphasisCode ifNil: [aFont emphasis]).!
- emphasis: emphasisCode.!
Item was changed:
+ (PackageInfo named: 'Morphic') postscript: 'SystemNavigation cleanUp: true.
+ Editor withAllSubclasses do: #initialize.
+
+ "Update emphasis cache in all existing string morphs."
+ StringMorph allSubInstancesDo: [:m |
+ m emphasis ifNil: [
+ m emphasis: (m font ifNil: [0] ifNotNil: [:f | f emphasis])]].'!
- (PackageInfo named: 'Morphic') postscript: '"Reset contributors."
- SystemNavigation cleanUp: true.
- Editor withAllSubclasses do: #initialize.'!