On Sep 4, 2011, at 10:48 AM, Lukas Renggli wrote:
All editors should be shout-able, but they should only be shouted if their model implements #shoutAboutToStyle: or whatever specific callback the system configured shouter is using.
Yes I saw that. I'm still waiting for alain description to fully understand.
If CodeEditor has support for shouting only, This is not what I implied. More that some places like inspector may be hold a reference to text while they should to codeeditor and that in text shout default should be off.
then OB is screwed again because there the extra behavior of CodeEditor (or SmalltalkEditor it is called, I think) is not wanted.
OK Now may be the default should be inverted. Not styled by default else we should really have a look at all the places where we should not shout and fix them. Because it looks strange to have a red text in inspector left pane especially when shout tries to parse anOrderedCollection (........) Do you do that in OB? Stef
Lukas
On 4 September 2011 10:40, Stéphane Ducasse <stephane.ducasse@inria.fr> wrote:
Alain
either we should change some textEditor into CodeEditor (and the inverse) or we should make sure that by default texts are not shouted. Because we have a lot of place (like workspace, some inspector panes So what do you think?
Stef
-- Lukas Renggli www.lukas-renggli.ch