[squeak-dev] Proposal | Resetting pragma preferences via 'nil' or #reset... message

Eliot Miranda eliot.miranda at gmail.com
Wed Oct 14 18:32:25 UTC 2020


On Wed, Oct 14, 2020 at 8:03 AM Marcel Taeumel <marcel.taeumel at hpi.de>
wrote:

> Hi all!
>
> Please find attached a change set that will implement #restoreDefaultValue
> on PragmaPreference looking for an optional #reset... message or just
> setting the preference to 'nil' and hoping for the best.
>
> I added #reset... methods for all pragma preferences that do either (a)
> not support 'nil' or (b) do costly update stuff.
>
> In the ReleaseBuilder, I opted for resetting all preferences as early as
> possible.
>
> Can I put this in the Trunk? :-)
>

Yes, but only if you remove all those stylings ;-)  I don't want y changes
file filling up with junk that will be auto-styled over :-)

_,,,^..^,,,_
best, Eliot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20201014/d3c9f086/attachment.html>


More information about the Squeak-dev mailing list