Marcel Taeumel uploaded a new version of Morphic to project The Trunk:
http://source.squeak.org/trunk/Morphic-mt.1649.mcz ==================== Summary ==================== Name: Morphic-mt.1649 Author: mt Time: 22 April 2020, 10:46:13.027214 am UUID: 6b61e640-ba14-0d47-80af-c926334d4b82 Ancestors: Morphic-mt.1648 Fixes small glitch in text editor's #implementorsOfIt to behave like #sendersOfIt. =============== Diff against Morphic-mt.1648 =============== Item was changed: ----- Method: TextEditor>>implementorsOfIt (in category 'menu messages') ----- implementorsOfIt "Open an implementors browser on the selected selector" + - | aSelector | self lineSelectAndEmptyCheck: [^ self]. + self selectedSelector ifNotNil: + [:aSelector| ^self systemNavigation browseAllImplementorsOf: aSelector]. + self selectedLiteral ifNotNil: + [:aLiteral| ^self systemNavigation browseAllImplementorsOf: aLiteral]. + morph flash.! - (aSelector := self selectedSelector) == nil ifTrue: [^ morph flash]. - model browseAllImplementorsOf: aSelector! |
Hi Marcel,
apparently, this change broke the #traceMessage preference since #browseAllImplementorsOf: is not dispatched to the MessageTrace any longer. What was the reason for sending it to the system navigation directly? :-)
Best, Christoph Von: Squeak-dev <[hidden email]> im Auftrag von [hidden email] <[hidden email]>
Gesendet: Mittwoch, 22. April 2020 10:46:19 An: [hidden email]; [hidden email] Betreff: [squeak-dev] The Trunk: Morphic-mt.1649.mcz Marcel Taeumel uploaded a new version of Morphic to project The Trunk:
http://source.squeak.org/trunk/Morphic-mt.1649.mcz ==================== Summary ==================== Name: Morphic-mt.1649 Author: mt Time: 22 April 2020, 10:46:13.027214 am UUID: 6b61e640-ba14-0d47-80af-c926334d4b82 Ancestors: Morphic-mt.1648 Fixes small glitch in text editor's #implementorsOfIt to behave like #sendersOfIt. =============== Diff against Morphic-mt.1648 =============== Item was changed: ----- Method: TextEditor>>implementorsOfIt (in category 'menu messages') ----- implementorsOfIt "Open an implementors browser on the selected selector" + - | aSelector | self lineSelectAndEmptyCheck: [^ self]. + self selectedSelector ifNotNil: + [:aSelector| ^self systemNavigation browseAllImplementorsOf: aSelector]. + self selectedLiteral ifNotNil: + [:aLiteral| ^self systemNavigation browseAllImplementorsOf: aLiteral]. + morph flash.! - (aSelector := self selectedSelector) == nil ifTrue: [^ morph flash]. - model browseAllImplementorsOf: aSelector!
Carpe Squeak!
|
Am Fr., 24. Apr. 2020 um 19:59 Uhr schrieb Thiede, Christoph
<[hidden email]>: > > apparently, this change broke the #traceMessage preference since #browseAllImplementorsOf: is not dispatched to the MessageTrace any longer. Confirmed. I will revert this in my image in the meantime. |
In reply to this post by Christoph Thiede
Hi Christoph. > What was the reason for sending it to the system navigation directly? :-) No reason, just oversight ... and maybe evidence of a surprising, inconsistent extension point. Maybe #browseIt and #sendersOfIt should also go through the model? Well, #doIt and #printIt do already go through the model if that model reponds to certain messages. Best, Marcel
|
Hi Marcel,
> Maybe #browseIt and #sendersOfIt should also go through the model?
Afaik #browseAllCallsOn: already goes through the model, at least in MessageTraces? Sounds like a good idea for #browseClass:, too :-)
Best, Christoph Von: Squeak-dev <[hidden email]> im Auftrag von Taeumel, Marcel
Gesendet: Sonntag, 26. April 2020 16:30:38 An: Robert via Squeak-dev; [hidden email] Betreff: Re: [squeak-dev] The Trunk: Morphic-mt.1649.mcz
Hi Christoph.
> What was the reason for sending it to the system navigation directly? :-)
No reason, just oversight ... and maybe evidence of a surprising, inconsistent extension point. Maybe #browseIt and #sendersOfIt should also go through the model? Well, #doIt and
#printIt do already go through the model if that model reponds to certain messages.
Best,
Marcel
Carpe Squeak!
|
Hi Christoph. > Afaik #browseAllCallsOn: already goes through the model, at least in MessageTraces? MessageTraces *is* the model. I was talking about TextEditor, which is shared among those CoderHolder/StringHolder tools. Best, Marcel
|
Free forum by Nabble | Edit this page |