The Trunk: ST80-nice.155.mcz

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

The Trunk: ST80-nice.155.mcz

commits-2
Nicolas Cellier uploaded a new version of ST80 to project The Trunk:
http://source.squeak.org/trunk/ST80-nice.155.mcz

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

Name: ST80-nice.155
Author: nice
Time: 5 October 2013, 12:56:25.948 am
UUID: 6ad504af-187b-4e17-9cda-5ef6881ab634
Ancestors: ST80-nice.154

Remove TextLine>>justifiedPadFor: which is superseded by justifiedPadFor:font: for a few years now (since integration of FreeType support in trunk image).

=============== Diff against ST80-nice.154 ===============

Item was removed:
- ----- Method: TextLineInterval>>justifiedPadFor: (in category 'scanning') -----
- justifiedPadFor: spaceIndex
- "Compute the width of pad for a given space in a line of justified text."
-
- | pad |
- internalSpaces = 0 ifTrue: [^0].
- pad := paddingWidth // internalSpaces.
- spaceIndex <= (paddingWidth \\ internalSpaces)
- ifTrue: [^pad + 1]
- ifFalse: [^pad]!