[squeak-dev] The Trunk: Multilingual-tpr.174.mcz

commits at source.squeak.org commits at source.squeak.org
Wed Sep 25 21:43:53 UTC 2013


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!



More information about the Squeak-dev mailing list