[Cuis-dev] [ChangeSet] TextParagraphMorph

Hilaire Fernandes hilaire at drgeo.eu
Tue Nov 30 10:34:47 PST 2021

Ok. I check your cs, so we can now simplify again drawOn: by inheriting 
the behavior.

Here is the changeset.



Le 30/11/2021 à 18:32, Juan Vuletich via Cuis-dev a écrit :
> Thanks. I tweaked your code to also avoid the last line if it can't be 
> shown complete. Now at GitHub.

GNU Dr. Geo

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20211130/c7760567/attachment.htm>
-------------- next part --------------
'From Cuis 5.0 [latest update: #4992] on 30 November 2021 at 7:32:33 pm'!

!TextParagraphMorph methodsFor: 'drawing' stamp: 'hlsf 11/30/2021 19:31:34'!
drawOn: aCanvas
	super drawOn: aCanvas .
		textComposition: textComposition
		bounds: (self morphLocalBounds insetBy: borderWidth * 2)
		color: Theme current text
		selectionColor: `Color red`
		avoidOverhang: true.! !

More information about the Cuis-dev mailing list