The Trunk: EToys-mt.398.mcz

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

The Trunk: EToys-mt.398.mcz

commits-2
Marcel Taeumel uploaded a new version of EToys to project The Trunk:
http://source.squeak.org/trunk/EToys-mt.398.mcz

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

Name: EToys-mt.398
Author: mt
Time: 15 July 2020, 11:26:41.827718 am
UUID: ca4709d0-cf7b-4afa-9938-6aceb743d845
Ancestors: EToys-kfr.397

Removes deprecated, dead method.

=============== Diff against EToys-kfr.397 ===============

Item was removed:
- ----- Method: EventSensor>>swapControlAndAltKeys: (in category '*Etoys-Squeakland-private-I/O') -----
- swapControlAndAltKeys: evt
- | char |
- char := evt at: 3.
- "Cursor keys and mouse wheel are not switched."
- (#(28 29 30 31) includes: char) ifTrue: [^ self].
- (evt at: 5) == CtrlKeyBit
- ifTrue: ["Ctrl -> Alt (^A -> a)"
- char < 32 ifTrue: [#(3 6) do: [:ind | evt at: ind put: (char bitOr: 16r60)]].
- evt at: 5 put: 8]
- ifFalse: [(evt at: 5) == CommandKeyBit
- ifTrue: ["Alt -> Ctrl (a -> ^A)"
- (char >= 16r60 and:  [char < 16r80]) ifTrue: [#(3 6) do: [:ind | evt at: ind put: (char bitAnd: 16r1F)]].
- evt at: 5 put: 2]].!