Manuscript (Case [Issue]22851) _Inbox - Refactorings got broken

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

Manuscript (Case [Issue]22851) _Inbox - Refactorings got broken

Pharo Issue Tracker
Manuscript Notification
avatar
Alain Plantec edited Case 22851: Refactorings got broken:
Bug in Project:  _Inbox: Not Spam  •  You are subscribed to this case
Hello Denis,
can you change SycMethodNameEditor as follow and check:
- adding of #selectorFieldMorph to build the morph and to manage the right announcements
- change of #newContentMorph to use #selectorFieldMorph

thanks
Alain

SycMethodNameEditor>>selectorFieldMorph
| m |
m := self
newAutoAcceptTextEntryFor: self
getText: #selector
setText: #selector:
getEnabled: nil
help: nil.
m announcer when: RubReturnEntered send: #ok to: self.
m announcer
when: RubKeystroke
send: #value:
to: [ :announcement |
announcement event keyCharacter = Character escape
ifTrue: [ self cancel ] ].
^ m

SycMethodNameEditor>>newContentMorph
^ (self newRow: {
self newLabelGroup: {
'Selector:' -> (selectorField := self selectorFieldMorph).
'Arguments:' -> (self newRow: {
(self newListFor: self list: #argumentList selected: #argumentIndex changeSelected: #argumentIndex: help: nil)
hResizing: #spaceFill;
yourself.
(self newColumn: {
(self newButtonFor: self action: #up label: 'up' help: nil)
getEnabledSelector: #isUpEnabled.
(self newButtonFor: self action: #down label: 'dn' help: nil)
getEnabledSelector: #isDownEnabled })
hResizing: #shrinkWrap }).
'Preview:' -> (labelMorph := self newLabel: self methodName printString) } })
minWidth: 400;
yourself
Priority Priority: 1 – Show Stopper !!!!!! Status Status: Work Needed
Assigned To Assigned to: Everyone Milestone Milestone: Pharo8.0

Go to Case
No longer need updates? Unsubscribe from this case.

Don't want Manuscript notifications anymore? Update your preferences.

Manuscript

_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
https://lists.gforge.inria.fr/mailman/listinfo/pharo-bugtracker