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

commits at source.squeak.org commits at source.squeak.org
Fri Mar 4 09:51:39 UTC 2022

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

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

Name: Morphic-mt.1924
Author: mt
Time: 4 March 2022, 10:51:33.827012 am
UUID: 0a2bb30e-f3b4-3147-9fcd-97bc6e904cb3
Ancestors: Morphic-mt.1923

Complements Morphic-mt.1923. Sorry for the noise.

=============== Diff against Morphic-mt.1923 ===============

Item was changed:
  ----- Method: TextMorph>>createParagraph (in category 'private') -----
  	self setProperty: #CreatingParagraph toValue: true.
  		self setDefaultContentsIfNil.
  		"...Code here to recreate the paragraph..."
  		paragraph := (self paragraphClass new textOwner: self owner).
  		paragraph wantsColumnBreaks: successor notNil.
  			compose: text
  			style: textStyle
  			from: self startingIndex
  			in: self container.
  		wrapFlag ifFalse:
  			["Was given huge container at first... now adjust"
  			paragraph adjustRightXDownTo: self minCompositionWidth].
  		paragraph focused: (self currentHand keyboardFocus == self).
- 			showCaret: self hasFocus;
  			caretColor: self caretColor;
  			selectionColor: self selectionColor;
  			unfocusedSelectionColor: self unfocusedSelectionColor.
  		self fit.
  	] ensure: [self removeProperty: #CreatingParagraph].
  	^ paragraph!

More information about the Squeak-dev mailing list