But that imperfect solution won't be a good solution either, since we are
not going to have shout styler anywhere :).

On Sun, Jan 23, 2011 at 4:47 AM, Marcus Denker <[email protected]>wrote:

> Hi,
>
> We need the imperfect, intermediate solution that is good enough for people
> to live with
> in 1.2.
>
> 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."
> >
> >
> >
> >
> >
> >
> >
> >
>
> --
> Marcus Denker  -- http://www.marcusdenker.de
> INRIA Lille -- Nord Europe. Team RMoD.
>
>
>

Reply via email to