[Cuis-dev] Fix for SmalltalkEditor>>#withMethodNodeAndClassDo:ifErrorsParsing:
Juan Vuletich
juan at cuis.st
Sat Mar 22 13:55:39 PDT 2025
On 3/22/2025 10:48 AM, Hernán Wilkinson via Cuis-dev wrote:
> 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 Wilkinson
> Agile 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
Well, there's no need for a SmalltalkEditor there. Saving works OK with
a regular TextEditor. I pushed that change instead.
Thanks!
--
Juan Vuletich
cuis.st
github.com/jvuletich
researchgate.net/profile/Juan-Vuletich
independent.academia.edu/JuanVuletich
patents.justia.com/inventor/juan-manuel-vuletich
linkedin.com/in/juan-vuletich-75611b3
twitter.com/JuanVuletich
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20250322/d80b03d2/attachment.htm>
More information about the Cuis-dev
mailing list