The Trunk: ToolBuilder-Morphic-ul.192.mcz

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

The Trunk: ToolBuilder-Morphic-ul.192.mcz

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

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

Name: ToolBuilder-Morphic-ul.192
Author: ul
Time: 27 February 2017, 2:26:53.959982 am
UUID: 6f29aa99-9057-48b7-a897-76d292974361
Ancestors: ToolBuilder-Morphic-cbc.191

- omit ifAbsent from #index* sends when the default value, 0 would used

=============== Diff against ToolBuilder-Morphic-cbc.191 ===============

Item was changed:
  ----- Method: ListChooser>>chooseIndexFrom:title: (in category 'initialize-release') -----
  chooseIndexFrom: labelList title: aString
  | choice |
  choice := self chooseItemFrom: labelList title: aString addAllowed: false.
+ ^ self items indexOf: choice!
- ^ self items indexOf: choice ifAbsent: 0!

Item was changed:
  ----- Method: ListChooser>>chooseIndexFrom:title:addAllowed: (in category 'initialize-release') -----
  chooseIndexFrom: labelList title: aString addAllowed: aBoolean
  | choice |
  choice := self chooseItemFrom: labelList title: aString addAllowed: false.
  self addAllowed: aBoolean.
+ ^ self items indexOf: choice!
- ^ self items indexOf: choice ifAbsent: 0!