[squeak-dev] The Inbox: Morphic-ct.1778.mcz

commits at source.squeak.org commits at source.squeak.org
Thu Jul 22 12:23:11 UTC 2021

A new version of Morphic was added to project The Inbox:

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

Name: Morphic-ct.1778
Author: ct
Time: 22 July 2021, 2:23:03.601519 pm
UUID: 843fb49e-90d9-364c-aa11-27b9256bd577
Ancestors: Morphic-mt.1776

Fix zero selection bug

=============== Diff against Morphic-mt.1776 ===============

Item was changed:
  ----- Method: PluggableListMorphOfMany>>specialKeyPressed: (in category 'model access') -----
  specialKeyPressed: asciiValue
  	"Toggle the selection on [space]."
  	asciiValue = Character space asciiValue
  		ifTrue: [ | index |
  			index :=  self getCurrentSelectionIndex.
+ 			index = 0 ifTrue: [^ self].
  				listSelectionAt: index
  				put: ((self listSelectionAt: index) not).
  			^ self].
  	super specialKeyPressed: asciiValue.!

More information about the Squeak-dev mailing list