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? :-) Best, Marcel pragma-cleanup.1.cs (24K) Download Attachment |
On Wed, Oct 14, 2020 at 8:03 AM Marcel Taeumel <[hidden email]> wrote:
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 |
Hmm... not sure how that happened. Maybe because I did that from a Vivide image. Well, no worries. I will use a fresh Trunk image as catalyst. :-) Best, Marcel
|
New day, new thoughts on this matter. I don't think that having extra #reset... messages for pragma preferences is necessary. The getter as "ifNil" and so should the setter support a 'nil' argument to reset. I will update those remaining 20% of setters to support 'nil' as argument. Best, Marcel
|
On Oct 15, 2020, at 4:27 AM, Marcel Taeumel <[hidden email]> wrote:
|
Free forum by Nabble | Edit this page |