The Trunk: Multilingual-nice.94.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-nice.94.mcz

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

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

Name: Multilingual-nice.94
Author: nice
Time: 28 February 2010, 6:30:47.144 pm
UUID: cd66ac26-43f2-4d47-a412-e6424586791f
Ancestors: Multilingual-nice.91

Fix endOfRun and crossedX encodings in paragraph composition - Part 1

=============== Diff against Multilingual-nice.91 ===============

Item was changed:
  ----- Method: MultiCharacterScanner class>>initialize (in category 'class initialization') -----
  initialize
  "
  MultiCharacterScanner initialize
  "
  | a |
  a := Array new: 258.
  a at: 1 + 1 put: #embeddedObject.
  a at: Tab asciiValue + 1 put: #tab.
  a at: CR asciiValue + 1 put: #cr.
  a at: Character lf asciiValue + 1 put: #cr.
  a at: EndOfRun put: #endOfRun.
  a at: CrossedX put: #crossedX.
+ a := TextStopConditions new setStops: a.
  NilCondition := a copy.
  DefaultStopConditions := a copy.
 
  PaddedSpaceCondition := a copy.
  PaddedSpaceCondition at: Space asciiValue + 1 put: #paddedSpace.
 
  SpaceCondition := a copy.
  SpaceCondition at: Space asciiValue + 1 put: #space.
  !

Item was changed:
  ----- Method: MultiCharacterScanner>>initializeStringMeasurer (in category 'initialize') -----
  initializeStringMeasurer
+ | stops |
+ stops := Array new: 258.
+ stops at: CrossedX put: #crossedX.
+ stops at: EndOfRun put: #endOfRun.
+ stopConditions := TextStopConditions new setStops: stops.
- stopConditions := Array new: 258.
- stopConditions at: CrossedX put: #crossedX.
- stopConditions at: EndOfRun put: #endOfRun.
  !

Item was changed:
  (PackageInfo named: 'Multilingual') postscript: '"below, add code to be run after the loading of this package"
+ EncodedCharSet initialize.
+ MultiCharacterScanner initialize.'!
- EncodedCharSet initialize.'!