[squeak-dev] The Trunk: ST80-mt.286.mcz

commits at source.squeak.org commits at source.squeak.org
Thu Jun 16 13:48:34 UTC 2022

Marcel Taeumel uploaded a new version of ST80 to project The Trunk:

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

Name: ST80-mt.286
Author: mt
Time: 16 June 2022, 3:48:33.456458 pm
UUID: c94219e0-1984-3e44-9047-c0489059f14b
Ancestors: ST80-ct.285

Makes some tests more robust against scale factors > 100%

=============== Diff against ST80-ct.285 ===============

Item was changed:
  ----- Method: TestIndenting>>setUp (in category 'running') -----
  	| text style |
  	text := 'p	' asText, (Text string: 'word word' attribute: (TextIndent tabs: 1)).
  	style := (TextStyle named: #Accuny) copy.
  	style defaultFontIndex: 2. "Default to Accuny12 as expected by tests."
+ 	self flag: #todo. "mt: Paragraph >> #textStyle: does not update the composition width correctly. So calling #asParagraph on text followed by #textStyle does not work if the style differs from the default style too much."
+ 	para := Paragraph withText: text style: style!
- 	para := text asParagraph textStyle: style!

More information about the Squeak-dev mailing list