[Pkg] The Trunk: Morphic-mt.1186.mcz

commits at source.squeak.org commits at source.squeak.org
Tue Jun 28 09:40:20 UTC 2016

Marcel Taeumel uploaded a new version of Morphic to project The Trunk:

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

Name: Morphic-mt.1186
Author: mt
Time: 28 June 2016, 11:39:43.639008 am
UUID: 471c6534-59eb-c84c-8742-e4fa50706ebb
Ancestors: Morphic-mt.1185

Account for broken morphs in the Object Explorer by catching in-computable icons. (Icons for morphs are usually their own graphical representation scaled down.) Comparable to error handling in ObjectExplorerWrapper >> #asString.

Fixes a bug with columns cache invalidation in tree morphs.

=============== Diff against Morphic-mt.1185 ===============

Item was changed:
  ----- Method: ObjectExplorerWrapper>>icon (in category 'accessing') -----
  	"Answer a form to be used as icon"
  	^ Preferences visualExplorer
+ 		ifTrue: [([self object iconOrThumbnailOfSize: 12] on: Error do: [nil])
- 		ifTrue: [(self object iconOrThumbnailOfSize: 12)
  			ifNil: [self class showContentsInColumns
  				ifTrue: [ToolIcons iconNamed: #blank] 
  				ifFalse: [nil]]]
  		ifFalse: [nil]!

Item was changed:
  ----- Method: SimpleHierarchicalListMorph>>columns: (in category 'accessing') -----
  columns: anArray
  	"You can specify columns or specs for columns. This depends on the actual morph that is used as item. ObjectExplorers produce items that support exact numbers, blocks, and nil for max width."
+ 	columns := anArray.
+ 	self clearColumnsCache.!
- 	columns := anArray!

More information about the Packages mailing list