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

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

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

Name: Multilingual-nice.97
Author: nice
Time: 28 February 2010, 7:40:52.257 pm
UUID: 1b6781af-be5c-9b40-ab82-31fbe121e8b1
Ancestors: Multilingual-nice.96

Fix endOfRun and crossedX encodings in paragraph composition - Part 4 (clean-up)

=============== Diff against Multilingual-nice.96 ===============

Item was changed:
  ----- Method: MultiCharacterScanner class>>initialize (in category 'class initialization') -----
  initialize
  "
  MultiCharacterScanner initialize
  "
  | a |
+ a := Array new: 256.
- 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: 256.
- stops := Array new: 258.
- stops at: CrossedX put: #crossedX.
- stops at: EndOfRun put: #endOfRun.
  stopConditions := TextStopConditions new setStops: stops.
  !