File tree Expand file tree Collapse file tree 1 file changed +6
-19
lines changed
Expand file tree Collapse file tree 1 file changed +6
-19
lines changed Original file line number Diff line number Diff line change 33 #superclass : #Object ,
44 #traits : ' TPyramidPlugin' ,
55 #classTraits : ' TPyramidPlugin classTrait' ,
6- #instVars : [
7- ' editOnRunning'
8- ],
96 #classInstVars : [
107 ' editOnRunning' ,
11- ' spaceIds' ,
128 ' shortcut' ,
13- ' shortcutFork' ,
149 ' keyCombination' ,
1510 ' breakpoint'
1611 ],
@@ -51,20 +46,12 @@ PyramidPluginEditOnRunning class >> cleanUp: anObject [
5146PyramidPluginEditOnRunning class >> doShortcutAction: anEvent [
5247
5348 | space editor whenClosedDo |
54- self flag:
55- ' labordep: this is a temporary processing because this fork is due to a Bloc opened issue' .
56- (shortcutFork notNil and : [ shortcutFork isTerminated not ]) ifTrue: [
57- ^ self ].
58-
59- shortcutFork := [
60- self editOnRunning ifTrue: [
61- space := anEvent source space.
62- (self canEditSpace: space) ifTrue: [
63- editor := space editWithPyramid.
64- whenClosedDo := editor window whenClosedDo.
65- editor window whenClosedDo: [ whenClosedDo value ] ] ] ]
66- forkAt: Processor userBackgroundPriority
67- named: ' Pyramid edit-on-running plugin shortcut'
49+ self editOnRunning ifFalse: [ ^ self ].
50+ space := anEvent source space.
51+ (self canEditSpace: space) ifFalse: [ ^ self ].
52+ editor := space editWithPyramid.
53+ whenClosedDo := editor window whenClosedDo.
54+ editor window whenClosedDo: [ whenClosedDo value ]
6855]
6956
7057{ #category : #' as yet unclassified' }
You can’t perform that action at this time.
0 commit comments