[squeak-dev] The Trunk: Collections-nice.161.mcz

commits at source.squeak.org commits at source.squeak.org
Mon Oct 5 20:43:54 UTC 2009


Nicolas Cellier uploaded a new version of Collections to project The Trunk:
http://source.squeak.org/trunk/Collections-nice.161.mcz

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

Name: Collections-nice.161
Author: nice
Time: 5 October 2009, 10:43:28 am
UUID: 97669dc7-c213-466a-8012-1a8ba00a9e00
Ancestors: Collections-nice.160

Fix http://bugs.squeak.org/view.php?id=6972
Some TextConstants are hardcoded in TextAligment

=============== Diff against Collections-nice.160 ===============

Item was changed:
  ----- Method: TextAlignment class>>leftFlush (in category 'instance creation') -----
  leftFlush
+ 	^self new alignment: LeftFlush!
- 	^self new alignment: 0!

Item was changed:
  ----- Method: TextAlignment class>>rightFlush (in category 'instance creation') -----
  rightFlush
+ 	^self new alignment: RightFlush!
- 	^self new alignment: 1!

Item was changed:
  TextAttribute subclass: #TextAlignment
  	instanceVariableNames: 'alignment'
  	classVariableNames: ''
+ 	poolDictionaries: 'TextConstants'
- 	poolDictionaries: ''
  	category: 'Collections-Text'!

Item was changed:
  ----- Method: TextAlignment class>>justified (in category 'instance creation') -----
  justified
+ 	^self new alignment: Justified!
- 	^self new alignment: 3!

Item was changed:
  ----- Method: TextAlignment class>>centered (in category 'instance creation') -----
  centered
+ 	^self new alignment: Centered!
- 	^self new alignment: 2!




More information about the Squeak-dev mailing list