[squeak-dev] Diffs "upside-down"

Marcel Taeumel marcel.taeumel at hpi.de
Tue Nov 10 09:05:19 UTC 2020


inst var is fine. I just pointed you to a roughly equivalent example. I would avoid reading the preference in #initialize but keep the inst var "nil" until overwritten.
Am 10.11.2020 09:59:24 schrieb Tony Garnock-Jones <tonyg at leastfixedpoint.com>:
Aha - hm. I went with an instance variable. Do you think I should change
it to use a property instead?

On 11/10/20 9:42 AM, Marcel Taeumel wrote:
> Sure. Maybe take a look at:
>
> Morph class >> #preferredCornerRadius
> Morph >> #cornerRadius
>
> There are other examples in the image.
>
> Best,
> Marcel
>>
>> Am 10.11.2020 09:40:24 schrieb Tony Garnock-Jones
>> :
>>
>> Love it! Thank you! I'll tweak it now to allow a per-instance
>> configurability of it, because I need to use it Unix-style
>> programmatically without overriding the user's image preference.
>>
>> On 11/10/20 8:58 AM, Marcel Taeumel wrote:
>> > Hi all!
>> >
>> > It is configurable now via System-mt.1192 in Trunk. The default is
>> (now)
>> > remove-before-insert.
>> >
>> > Best,
>> > Marcel
>> >
>> >
>> >> Am 10.11.2020 05:59:41 schrieb Vanessa Freudenberg :
>> >>
>> >> On Mon, Nov 9, 2020 at 6:58 AM Tony Garnock-Jones
>> >> > wrote:
>> >>
>> >> Does it bother anyone else that Squeak prints diffs
>> >>
>> >> +this line was added
>> >> -this line was removed
>> >>
>> >>
>> >> Yes, bothers me greatly. Please someone fix this :)
>> >>
>> >> - Vanessa -
>> >
>> >
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20201110/3f58c06a/attachment.html>


More information about the Squeak-dev mailing list