[squeak-dev] The Trunk: Multilingual-cmm.107.mcz

commits at source.squeak.org commits at source.squeak.org
Tue Mar 23 19:48:29 UTC 2010


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!




More information about the Squeak-dev mailing list