[squeak-dev] Inspector "Copy name"
Thiede, Christoph
Christoph.Thiede at student.hpi.uni-potsdam.de
Mon Dec 16 18:55:23 UTC 2019
Hi all,
as you might know, I'm currently refactoring the inspectors (@Chris - the idea with InspectorFieldSpec was fabulous, it improves the overall design a lot!). One short question regarding the menu action "Copy name":
[cid:5e312cc2-b0cb-473f-b58c-a3a408c5dfc9]
As you can see in the screenshot, the current implementation has a weird edge case:
sel := ...
(self selection isKindOf: Collection)
ifTrue: [sel := '(' , sel , ' at: 1)'].
^ sel
I cannot see any sense in it. In my eyes, it's just confusing. Can I remove that edge case?
Best,
Christoph
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20191216/e37c3f04/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pastedImage.png
Type: image/png
Size: 179284 bytes
Desc: pastedImage.png
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20191216/e37c3f04/attachment-0001.png>
More information about the Squeak-dev
mailing list
|