[squeak-dev] [Question] How do I use the OmniBrowser?

Philippe Marschall philippe.marschall at gmail.com
Wed Oct 1 04:51:01 UTC 2008


2008/10/1, Colin Putney <cputney at wiresong.ca>:
>
> On 30-Sep-08, at 11:43 AM, Avi Bryant wrote:
>
>> On Tue, Sep 30, 2008 at 11:37 AM, David Röthlisberger
>> <squeak at webcitas.ch> wrote:
>>>
>>>> Ditto.  #br is a horrible selector, we're not suffering from a
>>>> shortage of
>>>> vowels, #br stands for break, the selector should be #break just
>>>> as "a"
>>>> means anchor.
>>>
>>> yeah, but there's no #a method implemented in Object that has a
>>> particular
>>> meaning as #break has, right?
>>
>> Is Object>>break mentioned anywhere in Squeak documentation? I never
>> knew about it until now.  It also has no senders (for somewhat obvious
>> reasons), so there would be no problem changing it to something else
>> like #breakpoint.
>>
>> Even without that, though, I don't think there's a real issue here.
>> If you're inside canvas code and want a breakpoint, use some other
>> receiver - the comment in the #break method itself uses "nil break" as
>> an example.
>
> The original issue was that OB uses a flag icon to call attention to
> senders of #halt and #break. In rendering methods, that's a false alarm.
>
> It seems like #break is only used by the tools, so it would better to
> change that than Seaside.

Or just change the detection code to check if the receiver of #break
is a variable or argument called html or renderer.

Cheers
Philippe


More information about the Squeak-dev mailing list