(Workspace new
contents: 'hello world')
open

opens without style hilite

(it took me several minutes to figure out)
 this thing still severly broken..

for instance, why there is #contents: and #setContent: ??

Initially i tried to do:

(Workspace
  openContents: 'hello world' )
textMorph beUnStyled

as well as variations like:

(Workspace
  openContents: 'hello world' )
toggleStylingActive

but it has to effect.

Broken, broken , broken.

P.S. could someone explain me, why on Earth, a PluggableTextMorph has
so much instance variables dedicated to styler:
- nullStyler
- shoutedStyler
- styler
- styled

???
isn't it a responsibility of an owner of morph to set a styler and
based on what it sets (nil, null, shout or whatever else value)
consider text
as styled or not?
Why on Earth, a PluggableTextMorph needs to care about it more than
just having a 'styler' ivar?


-- 
Best regards,
Igor Stasenko AKA sig.

Reply via email to