[squeak-dev] The Trunk: Morphic-cmm.1188.mcz

commits at source.squeak.org commits at source.squeak.org
Thu Jun 30 21:38:03 UTC 2016


Chris Muller uploaded a new version of Morphic to project The Trunk:
http://source.squeak.org/trunk/Morphic-cmm.1188.mcz

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

Name: Morphic-cmm.1188
Author: cmm
Time: 30 June 2016, 4:37:17.550411 pm
UUID: dbffb365-18a5-414e-8584-48756b1592b3
Ancestors: Morphic-mt.1187

Update the key for #bringWindowUnderHandToFront to Cmd+/ (forward slash).  This not only avoids the conflict with Ubuntu and Mac OS keys (sigh), but is a more sensible counterpart to the key which sends windows to the back (backward slash).

=============== Diff against Morphic-mt.1187 ===============

Item was changed:
  ----- Method: SystemWindow>>filterEvent:for: (in category 'events') -----
  filterEvent: aKeyboardEvent for: anObject
  	"Provide keyboard shortcuts."
  		
  	aKeyboardEvent isKeystroke
  		ifFalse: [^ aKeyboardEvent].
  	
  	aKeyboardEvent commandKeyPressed ifTrue: [
  		aKeyboardEvent keyCharacter caseOf: {
  			[$\] -> [self class sendTopWindowToBack].
  			[Character escape] -> [self class deleteTopWindow].
+ 			[$/] -> [self class bringWindowUnderHandToFront].
- 			[$`] -> [self class bringWindowUnderHandToFront].
  		} otherwise: [^ aKeyboardEvent "no hit"].
  		^ aKeyboardEvent ignore "hit!!"].
  	
  	aKeyboardEvent controlKeyPressed ifTrue: [
  		aKeyboardEvent keyCharacter caseOf: {
  			[Character escape] -> [self world findWindow: aKeyboardEvent].
  		} otherwise: [^ aKeyboardEvent "no hit"].
  		^ aKeyboardEvent ignore "hit!!"].
  
  	^ aKeyboardEvent "no hit"!



More information about the Squeak-dev mailing list