Marcel Taeumel uploaded a new version of Morphic to project The Trunk: http://source.squeak.org/trunk/Morphic-mt.1903.mcz
==================== Summary ====================
Name: Morphic-mt.1903 Author: mt Time: 21 February 2022, 3:47:13.652099 pm UUID: 3bdc0c37-abfd-ae40-9040-42769b8b3683 Ancestors: Morphic-mt.1902
It is not necessary to copy a text style during text composition. The text style will not be modified during composition. It must be a copy already when the surrounding text morph was configured.
=============== Diff against Morphic-mt.1902 ===============
Item was changed: ----- Method: TextMorph>>createParagraph (in category 'private') ----- createParagraph
self setProperty: #CreatingParagraph toValue: true.
[ self setDefaultContentsIfNil.
"...Code here to recreate the paragraph..." paragraph := (self paragraphClass new textOwner: self owner). paragraph wantsColumnBreaks: successor notNil. paragraph compose: text + style: textStyle - style: textStyle copy from: self startingIndex in: self container. wrapFlag ifFalse: ["Was given huge container at first... now adjust" paragraph adjustRightX]. paragraph focused: (self currentHand keyboardFocus == self).
paragraph caretColor: self caretColor; selectionColor: self selectionColor; unfocusedSelectionColor: self unfocusedSelectionColor. self fit. ] ensure: [self removeProperty: #CreatingParagraph].
^ paragraph!
packages@lists.squeakfoundation.org