[ENH] KeepTextFont-nk

Ned Konz ned at bike-nomad.com
Sat Oct 20 17:13:24 UTC 2001


from preamble:

"Change Set:		KeepTextFont-nk
Date:			20 October 2001
Author:			Ned Konz

When you use TextMorphs from the EToy system and you change their
contents using the characters or numericValue slots, font changes get
lost. This change set makes it so that if a TextMorph is all the same
font, that font is used when the contents change, thereby keeping the
appearance of the TextMorph uniform.

To use this, just select the entire Text of a TextMorph and apply font
color, emphasis, or size changes as desired to the whole text.

Then you can change the characters or numericValue slots from EToys
without changing the TextMorph's appearance."!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: KeepTextFont-nk.cs.gz
Type: application/octet-stream
Size: 993 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20011020/64416040/KeepTextFont-nk.cs.obj


More information about the Squeak-dev mailing list