This seems ok for me.
When others reply open a  ticket + changes and we will integrate that.

On Jan 22, 2011, at 4:25 PM, Tudor Girba wrote:

> Hi,
> 
> In the latest Morphic version, the default styler of the PluggableTextMorph 
> is given by:
> useDefaultStyler
>        "This should be changed to a proper registry but as long as there is 
> only shout this will do"
> 
>        Smalltalk globals
>                at: #SHTextStylerST80 
>                ifPresent: [ :stylerClass | self styler: (stylerClass new 
> view: self) ]
>                ifAbsent: [ self styler: ( NullTextStyler new view: self) ]
> 
> Thus, if Shout is loaded, you will get it in all text morphs by default. 
> Given that TextMorph should be general and be used in all sorts of contexts, 
> the default behavior should be the original:
> 
> useDefaultStyler
>       "This should be changed to a proper registry but as long as there is 
> only shout this will do"
> 
>       self styler: (NullTextStyler new view: self; yourself).
> 
> 
> What do you say?
> 
> Cheers,
> Doru
> 
> --
> www.tudorgirba.com
> 
> "We are all great at making mistakes."
> 
> 
> 
> 
> 
> 
> 
> 


Reply via email to