The Trunk: Multilingual-tpr.174.mcz

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

The Trunk: Multilingual-tpr.174.mcz

commits-2
tim Rowledge uploaded a new version of Multilingual to project The Trunk:
http://source.squeak.org/trunk/Multilingual-tpr.174.mcz

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

Name: Multilingual-tpr.174
Author: tpr
Time: 25 September 2013, 2:43:25.968 pm
UUID: 673a3218-1909-4c9f-84aa-7d043162fc2c
Ancestors: Multilingual-nice.173

improve computeDefaultLineHeight ready for bigger changes

=============== Diff against Multilingual-nice.173 ===============

Item was changed:
  ----- Method: MultiCompositionScanner>>computeDefaultLineHeight (in category 'scanning') -----
  computeDefaultLineHeight
  "Compute the default line height for a potentially empty text"
+ rightMargin notNil
+ ifTrue: [lastIndex := 1.
+ self setFont.
+ ^ lineHeight + textStyle leading]
+ ifFalse: [^textStyle lineGrid]!
- lastIndex := 1.
- self setFont.
- ^lineHeight + textStyle leading!