[squeak-dev] The Trunk: ST80-dtl.182.mcz

commits at source.squeak.org commits at source.squeak.org
Sun Apr 26 22:47:36 UTC 2015


David T. Lewis uploaded a new version of ST80 to project The Trunk:
http://source.squeak.org/trunk/ST80-dtl.182.mcz

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

Name: ST80-dtl.182
Author: dtl
Time: 26 April 2015, 6:47:16.056 pm
UUID: dee23142-1b42-4b7f-8ee6-6ea080b4df18
Ancestors: ST80-cmm.181

Some tools (e.g. FontChooserTool) prefer to display text with no line wrapping. Add #wrapFlag: to PluggableTextMorph and StringHolderView to allow a tool builder to specify the preference in Morphic or MVC.

=============== Diff against ST80-cmm.181 ===============

Item was added:
+ ----- Method: StringHolderView>>isWrapped (in category 'wrapping') -----
+ isWrapped
+ 	^true!

Item was added:
+ ----- Method: StringHolderView>>wrapFlag: (in category 'wrapping') -----
+ wrapFlag: aBoolean
+ 	"Control whether contained text will adjust its bounds as I change shape.
+ 	This is a no-op in MVC,. See TextMorph>>wrapFlag: for reference."
+ !



More information about the Squeak-dev mailing list