[squeak-dev] The Trunk: Morphic-mt.1941.mcz

commits at source.squeak.org commits at source.squeak.org
Tue Mar 15 13:53:53 UTC 2022

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

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

Name: Morphic-mt.1941
Author: mt
Time: 15 March 2022, 2:53:46.850959 pm
UUID: b0648cc0-8e62-9d42-be6d-03e117333c05
Ancestors: Morphic-mt.1940

Okay, for unusually long dialog texts, we go for 65 characters per line (on average), not just the default 45.

Here is an example:
CodeHolder new informPossiblyCorruptSource.

Again, see commentary in TextStyle >> #compositionWidthForNumChars

=============== Diff against Morphic-mt.1940 ===============

Item was changed:
  ----- Method: DialogWindow>>message: (in category 'accessing') -----
  message: aStringOrText
+ 	aStringOrText size > 900
+ 		ifTrue: [self messageMorph numCharactersPerLine: 65].
  	messageMorph contents: aStringOrText.
  	self setMessageParameters.!

More information about the Squeak-dev mailing list