[squeak-dev] The Trunk: ToolBuilder-Morphic-cmm.164.mcz

commits at source.squeak.org commits at source.squeak.org
Tue May 31 21:26:51 UTC 2016


Chris Muller uploaded a new version of ToolBuilder-Morphic to project The Trunk:
http://source.squeak.org/trunk/ToolBuilder-Morphic-cmm.164.mcz

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

Name: ToolBuilder-Morphic-cmm.164
Author: cmm
Time: 31 May 2016, 4:26:42.939857 pm
UUID: bd968a1e-4af0-4499-98b4-bd3fa99f7f14
Ancestors: ToolBuilder-Morphic-mt.163

- Make #balloonText, like #printString, less disruptive to the user-interface when there's a problem.
- Clarify the name of the preference which allows filtering hierarchical lists by only their labels.

=============== Diff against ToolBuilder-Morphic-mt.163 ===============

Item was changed:
  ----- Method: PluggableTextMorphPlus>>drawBalloonTextOn: (in category 'drawing') -----
+ drawBalloonTextOn: aCanvas 
- drawBalloonTextOn: aCanvas
  	"Show balloon text in the text morph if it has no contents."
+ 	textMorph contents ifNotEmpty: [ ^ self ].
+ 	([ self balloonText ]
+ 		on: Error
+ 		do: [ : err | 'error in balloonText' ]) ifNotNil:
+ 		[ : text | aCanvas
- 	
- 	textMorph contents ifNotEmpty: [^ self].
- 		
- 	self balloonText ifNotNil: [:text |
- 		aCanvas
  			drawString: text
+ 			in: (self innerBounds insetBy: (5 @ 2 corner: 0 @ 0))
+ 			font: textMorph textStyle defaultFont "I want italic here" 
+ 			color: (Color gray: 0.7) ]!
- 			in: (self innerBounds insetBy: (5 at 2 corner: 0 at 0))
- 			font: textMorph textStyle defaultFont
- 			color: (Color gray: 0.7)].!

Item was changed:
  ----- Method: PluggableTreeMorph class>>filterByLabelsOnly (in category 'preferences') -----
  filterByLabelsOnly
+ 	<preference: 'Filterable Trees by labels only'
- 	<preference: 'Filterable Lists by labels only'
  		category: 'scrolling'
  		description: 'When using the Filterable Lists option, set this to only match the labels, not the contents, of hierarchical lists.  Otherwise, search both labels and contents will be matched.'
  		type: #Boolean>
  	^ FilterByLabelsOnly ifNil: [ false ]!



More information about the Squeak-dev mailing list