The Trunk: Multilingual-cmm.107.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-cmm.107.mcz

commits-2
Chris Muller uploaded a new version of Multilingual to project The Trunk:
http://source.squeak.org/trunk/Multilingual-cmm.107.mcz

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

Name: Multilingual-cmm.107
Author: cmm
Time: 23 March 2010, 2:47:40.031 pm
UUID: 64e397c3-d04a-42ee-84cb-5492bc4c97e2
Ancestors: Multilingual-cmm.106

Ran FixUnderscores on this package.

=============== Diff against Multilingual-cmm.106 ===============

Item was changed:
  ----- Method: MultiCharacterScanner>>placeEmbeddedObject: (in category 'scanning') -----
  placeEmbeddedObject: anchoredMorph
  "Place the anchoredMorph or return false if it cannot be placed.
  In any event, advance destX by its width."
  | w |
  "Workaround: The following should really use #textAnchorType"
  anchoredMorph relativeTextAnchorPosition ifNotNil:[^true].
+ destX := destX + (w := anchoredMorph width).
- destX _ destX + (w _ anchoredMorph width).
  (destX > rightMargin and: [(leftMargin + w) <= rightMargin])
  ifTrue: ["Won't fit, but would on next line"
  ^ false].
+ lastIndex := lastIndex + 1.
- lastIndex _ lastIndex + 1.
  "self setFont."  "Force recalculation of emphasis for next run"
  ^ true!