The Trunk: ST80-dtl.182.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: ST80-dtl.182.mcz

commits-2
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."
+ !