The Trunk: Morphic-mt.1300.mcz

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

The Trunk: Morphic-mt.1300.mcz

commits-2
Marcel Taeumel uploaded a new version of Morphic to project The Trunk:
http://source.squeak.org/trunk/Morphic-mt.1300.mcz

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

Name: Morphic-mt.1300
Author: mt
Time: 30 August 2016, 10:56:36.489299 am
UUID: 681c214e-6f43-4042-b272-8e7bad3594da
Ancestors: Morphic-tfel.1299

Fix small regression when setting the font in StringMorph.

=============== Diff against Morphic-tfel.1299 ===============

Item was changed:
  ----- Method: StringMorph>>font: (in category 'printing') -----
  font: aFont
  "Set the font my text will use. The emphasis remains unchanged."
 
  aFont = font ifTrue: [^ self].
+ ^ self font: aFont emphasis: emphasis!
- ^ self font: font emphasis: emphasis!