[squeak-dev] Re: MessageTally fixes

Juan Vuletich juan at jvuletich.org
Sun Feb 21 13:57:17 UTC 2010


Levente Uzonyi wrote:
> On Fri, 19 Feb 2010, Juan Vuletich wrote:
>
>> Juan Vuletich wrote:
>>
>> Ok. It seems the class variable is needed for the debugger. Letting 
>> the debugger terminate the Timer greately enhances UI responsiveness 
>> when doing Alt-. during a tally. So I left it there. What is not 
>> needed anymore AFAIK is the #close method, as #ensure: ensures 
>> terminating it in the normal (non-debugger) case. The attach also 
>> includes raising an error in case of nested a tally being started. I 
>> did it in Cuis, and will be in the next Cuis release. Levente, feel 
>> free to test and publish for Squeak, or to take ideas from it.
>>
>
> Thanks, this looks good. The only thing I don't understand is that why
> CodeHolder is better than StringHolder to view the report of 
> MessageTally?
> I found no use of the buttons. Is there anything different about 
> CodeHolder and StringHolder in Cuis?

In Cuis, a StringHolder uses a TextEditor and a CodeHolder uses a 
SmalltalkEditor. So, a CodeHolder adds handy Smalltalk shortcuts like 
alt-m. BTW, if you take a close look at Cuis, I'm sure you'd be porting 
tons of stuff back to Squeak.

Cheers,
Juan Vuletich
>
>
> Levente
>
>> Cheers,
>> Juan Vuletich




More information about the Squeak-dev mailing list