[Cuis-dev] Fix for SmalltalkEditor>>#withMethodNodeAndClassDo:ifErrorsParsing:
Hernán Wilkinson
hernan.wilkinson at 10pines.com
Sat Mar 22 13:59:25 PDT 2025
Great! I did not know TextEditor could save and the comment did not help :-)
On Sat, Mar 22, 2025 at 5:55 PM Juan Vuletich <juan at cuis.st> wrote:
> 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 Vuletichcuis.stgithub.com/jvuletichresearchgate.net/profile/Juan-Vuletichindependent.academia.edu/JuanVuletichpatents.justia.com/inventor/juan-manuel-vuletichlinkedin.com/in/juan-vuletich-75611b3twitter.com/JuanVuletich
>
>
--
*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/3a837a88/attachment.htm>
More information about the Cuis-dev
mailing list