RBConfigurableFormatter initialization

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

RBConfigurableFormatter initialization

Ian Bartholomew-18
Small problem in 5.1.2

Quick example - go to User Options/Development System/formatter class
and change the option so that the RBConfigurableFormatter is selected.
In the list of attributes #periodsAsTerminators is now shown as an error
because it's value is not a Boolean.

The root cause is that the RBConfigurableFormatter>>initialize method
does not set the PeriodsAtEndOfMethod and PeriodsAtEndOfBlock class
variables but still sets PeriodsAsTerminators (which isn't used any
more).

Workaround - evaluate
RBConfigurableFormatter periodsAsTerminators: false

--
Ian


Reply | Threaded
Open this post in threaded view
|

Re: RBConfigurableFormatter initialization

Blair McGlashan
"Ian Bartholomew" <[hidden email]> wrote in message
news:DGPqb.5518$[hidden email]...
> Small problem in 5.1.2
>
> Quick example - go to User Options/Development System/formatter class
> and change the option so that the RBConfigurableFormatter is selected.
> In the list of attributes #periodsAsTerminators is now shown as an error
> because it's value is not a Boolean.
> ...

Thanks Ian, already recorded as #1376. Hotfix available from:

http://object-arts.com/Lib/Update/Dolphin/5.1/1376.st

Regards

Blair