Skip to content

Commit

Permalink
Revert "remove double double-quote from systemwindow compile"
Browse files Browse the repository at this point in the history
This reverts commit ee7157b.
  • Loading branch information
tom95 committed Oct 27, 2023
1 parent ee7157b commit 238f2a7
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions SwaImageConfiguration.st
Original file line number Diff line number Diff line change
Expand Up @@ -167,28 +167,7 @@ Utilities setAuthorInitials: 'hpi'. "changed at end"
"-=-=-=-=-="
"w shortcut to delete windows - experimental for SWA WiSe 23/24"

(Smalltalk at: #SystemWindow) compile: 'filterEvent: aKeyboardEvent for: anObject
"Provide keyboard shortcuts."

aKeyboardEvent isKeystroke
ifFalse: [^ aKeyboardEvent].
aKeyboardEvent hand halo ifNotNil: [ : halo | halo target isSystemWindow ifTrue: [ aKeyboardEvent hand removeHalo ] ].
aKeyboardEvent commandKeyPressed ifTrue: [
aKeyboardEvent keyCharacter caseOf: {
[$\] -> [self class sendTopWindowToBack].
[Character escape] -> [self class deleteTopWindow].
[$w] -> [self class deleteTopWindow].
[$/] -> [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"'.

"-=-=-=-=-="
"Remove Git Updates from PreferenceWizard as we use a special git version"
Expand Down

0 comments on commit 238f2a7

Please sign in to comment.