If paragraph composition width is reduced by 24 instead of 20, the
test works (taken from trunk)
testNewLineStartsIndentedWhenWrapped
"Checks whether the beginning of a new line starts at the indented position"
| cb |
para compositionRectangle: (0@0 extent: para width - 24@100);
updateCompositionHeight.
para clippingRectangle: (0@0 extent: 200@200).
cb := para characterBlockForIndex: 8.
self assert: cb top > 0.
self assert: cb left = 24
_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project