[Pkg] The Trunk: Morphic-ul.1552.mcz

commits at source.squeak.org commits at source.squeak.org
Tue Oct 1 10:55:33 UTC 2019


Levente Uzonyi uploaded a new version of Morphic to project The Trunk:
http://source.squeak.org/trunk/Morphic-ul.1552.mcz

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

Name: Morphic-ul.1552
Author: ul
Time: 1 October 2019, 12:51:14.444047 pm
UUID: 7ad29809-b301-4b6a-994f-490953dd07c2
Ancestors: Morphic-mt.1551

- Arrays contain nils by default

=============== Diff against Morphic-mt.1551 ===============

Item was changed:
  ----- Method: LazyListMorph>>font: (in category 'drawing') -----
  font: newFont
  	font := (newFont ifNil: [ TextStyle default defaultFont ]).
  	self adjustHeight.
+ 	listFilterOffsets := Array new: self getListSize.
- 	listFilterOffsets := Array new: self getListSize withAll: nil.
  	self changed.!

Item was changed:
  ----- Method: LazyListMorph>>listChanged (in category 'list management') -----
  listChanged
  	"set newList to be the list of strings to display"
  	| size |
  	size := self getListSize.
+ 	listItems := Array new: size.
+ 	listIcons := Array new: size.
+ 	listFilterOffsets := Array new: size.
- 	listItems := Array new: size withAll: nil.
- 	listIcons := Array new: size withAll: nil.
- 	listFilterOffsets := Array new: size withAll: nil.
  	maxWidth := nil.
  	selectedRow := nil.
  	selectedRows := PluggableSet integerSet.
  	preSelectedRow := nil.
  	self adjustHeight.
  	self adjustWidth.
  	self changed.
  !



More information about the Packages mailing list