The Trunk: Morphic-ul.1552.mcz

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

The Trunk: Morphic-ul.1552.mcz

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