Updates:
        Cc: guillermopolito marcus.denker stephane.ducasse

Comment #1 on issue 3583 by tudor.gi...@gmail.com: Shout should only be active in code panes
http://code.google.com/p/pharo/issues/detail?id=3583

From Guillermo:

Why not delegate it in the used Editor ? SmalltalkEditor should use shout while the other editors should use the NullTextStyler. Maybe something like this:

PluggableTextMorph>>useDefaultStyler
    self styler: textMorph editor styler

Or better:

PluggableTextMorph>>useDefaultStyler
    self styler: textMorph styler

And then

Editor>>styler
  ^NullTextStyler new

SmalltalkEditor>>styler
  ^...

...

Anyways, I'm looking that

PluggableTextMorph>>textMorphClass
    "Answer the class used to create the receiver's textMorph"

    ^TextMorphForEditView

and

TextMorphForEditView>>editorClass
    ^ SmalltalkEditor


So it's what I suggested needs a lot of work more...

Guille



Reply via email to