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 - 2...@100);
updateCompositionHeight.
        para clippingRectangle: (0...@0 extent: 2...@200).
        cb := para characterBlockForIndex: 8.
        self assert: cb top > 0.
        self assert: cb left = 24

_______________________________________________
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to