[Cuis-dev] Fix for SmalltalkEditor>>#withMethodNodeAndClassDo:ifErrorsParsing:
Hernán Wilkinson
hernan.wilkinson at 10pines.com
Sat Mar 22 06:48:28 PDT 2025
Hi,
SmalltalkEditor>>#withMethodNodeAndClassDo:ifErrorsParsing: sends the
message #selectedClassOrMetaClass to the code provider and not all code
providers answer that message, for example CodePackageList does not answer
it.
The attached fix takes care of that problem but I think we can shoot for a
better solution later.
The description editor of CodePackageList is a SmalltalkEditor "to enable
saving" (See CodePackageList>>#editorClassFor:), that also enables all the
menu options of a smalltalk editor like implementors/senders/do it/etc. I'm
not sure that is the intended behavior, it is handy but it can generate
problems like the one I discovered.
Cheers!
Hernan.
--
*Hernán WilkinsonAgile Software Development, Teaching & Coaching*
*Phone: +54-011*-4893-2057
*Twitter: @HernanWilkinson*
*site: http://www.10Pines.com <http://www.10pines.com/>*
Address: Alem 896, Floor 6, Buenos Aires, Argentina
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20250322/95a9f4c5/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 7088-AvoidErrorForCodeProviderWithoutClass-HernanWilkinson-2025Mar20-18h28m-HAW.001.cs.st
Type: application/octet-stream
Size: 569 bytes
Desc: not available
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20250322/95a9f4c5/attachment.obj>
More information about the Cuis-dev
mailing list