[Pkg] The Trunk: Collections-nice.442.mcz

commits at source.squeak.org commits at source.squeak.org
Sun May 1 20:16:42 UTC 2011


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

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

Name: Collections-nice.442
Author: nice
Time: 1 May 2011, 10:16:12.584 pm
UUID: 32919b15-6f79-4990-9277-8267034615d1
Ancestors: Collections-nice.441

Oops, case of elementary arithmetic error...
16r3FC highBit - 16r3FC lowBit + 1 = 8, not 9
(negative leadingChar are not allowed)
Thanks Levente.

=============== Diff against Collections-nice.441 ===============

Item was changed:
  ----- Method: Character>>leadingChar (in category 'accessing') -----
  leadingChar
+ 	"Answer the value of the 8 highest bits which is used to identify the language.
- 	"Answer the value of the 9 highest bits which is used to identify the language.
  	This is mostly used for east asian languages CJKV as a workaround against unicode han-unification."
  	^ value bitShift: -22!



More information about the Packages mailing list