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

commits at source.squeak.org commits at source.squeak.org
Thu Apr 7 08:04:33 UTC 2022


Marcel Taeumel uploaded a new version of Morphic to project The Trunk:
http://source.squeak.org/trunk/Morphic-mt.1964.mcz

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

Name: Morphic-mt.1964
Author: mt
Time: 7 April 2022, 10:04:27.748476 am
UUID: f205ae46-d92c-cc4e-b56b-2812fb2226eb
Ancestors: Morphic-mt.1963

Renames #numCharactersPerLine to #averageLineLength. Clean up.

=============== Diff against Morphic-mt.1963 ===============

Item was removed:
- ----- Method: PluggableTextMorph>>numCharactersPerLine (in category 'accessing') -----
- numCharactersPerLine
- 
- 	^ textMorph numCharactersPerLine!

Item was removed:
- ----- Method: PluggableTextMorph>>numCharactersPerLine: (in category 'accessing') -----
- numCharactersPerLine: numCharsOrNil
- 
- 	textMorph numCharactersPerLine: numCharsOrNil.!

Item was removed:
- ----- Method: TextMorph>>numCharactersPerLine (in category 'layout') -----
- numCharactersPerLine
- 
- 	^ numCharactersPerLine!

Item was removed:
- ----- Method: TextMorph>>numCharactersPerLine: (in category 'layout') -----
- numCharactersPerLine: numCharsOrNil
- 	"Reset composition rectangle to approx. numChars per line. Will be a perfect fit for monospaced fonts, average over multiple lines for other fonts. See commentary in #withNoLineLongerThan: and TextStyle >> #compositionWidthFor:."
- 	
- 	numCharactersPerLine = numCharsOrNil ifTrue: [^ self].
- 	numCharactersPerLine := numCharsOrNil.
- 	self releaseParagraph; changed.!



More information about the Squeak-dev mailing list