[Cuis-dev] Improvement: Italic abstract classes and methods in Browser

Luciano Notarfrancesco luchiano at gmail.com
Thu Dec 4 05:31:17 PST 2025


I was just trying to reproduce it in order to try and fix it, but now I
can't get it to trigger. I'll try and fix it next time I see it.
If you make a new version, remember to add at the end of the change set:
    PreferenceSet installDefault: #(italicAbstractClassesAndMethods true)
in: #programming
Or, anyone who wants to test it, run that line in a workspace, otherwise
the browser wont work. You could also reinitialize the preferences, but
that will override your current preferences.

On Thu, Dec 4, 2025 at 3:34 AM Luciano Notarfrancesco <luchiano at gmail.com>
wrote:

> Exactly. I temporarily fixed it by just checking if selectedClass is nil,
> as you say, but that’s not the right way to fix it… I was pointing to that
> underlying inconsistency: messageList returning the old list of methods
> after deleting the class. Your change set just made it more obvious, but
> didnt cause it.
>
> On Thu, Dec 4, 2025 at 03:26 Ernesto Ittig <e.ittig at gmail.com> wrote:
>
>> On Wed Dec 3, 2025 at 6:05 AM -03, Luciano Notarfrancesco wrote:
>> > BTW, there’s some inconsistency in the Browser that shows up when
>> deleting
>> > a class while a message category is selected. Browser>>messageList ends
>> uo
>> > sending compiledMethodAt: to nil (selectedClass is nil, but
>> > unstyledMessageList still answers the messages of the deleted class).
>>
>> I think I was able to reproduce this issue. It should be easy to fix by
>> checking that selectedClass is not nil. I will send a new version later
>> with some improvements.
>>
>> Curiously, I found a completely unrelated issue with the browser while
>> trying to reproduce this. If you click on one of those methods that
>> remains after the class that the browser had selected is deleted, an
>> exception is raised! To be clear, this is unrelated to my change set.
>> I'll leave it as future work for anyone interested.
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20251204/1ed39bf4/attachment.htm>


More information about the Cuis-dev mailing list