[Cuis-dev] TextParagraphMorph>>contents:

Juan Vuletich juan at cuis.st
Sun Oct 20 16:09:09 PDT 2024


On 10/20/2024 2:49 PM, ken.dickey--- via Cuis-dev wrote:
> In a Workspace:
>
> pm := TextParagraphMorph contents: 'They say I am RED' red.
> pm openInWorld.
> pm contents: 'They say I am RED' green.
>
> But text remains RED.
>
> However,
>
> pm  contents: ''.
> pm contents: 'They say I am RED' green.
>
> displays properly in GREEN.
>
> ?!? 

Hi Ken,

This was a consequence of TextParagraphMorph not being aware of the 
weird Text>>#= we inherit from Smalltalk-80. Just pushed a fix.

Thanks for reporting!

-- 
Juan Vuletich
cuis.st
github.com/jvuletich
researchgate.net/profile/Juan-Vuletich
independent.academia.edu/JuanVuletich
patents.justia.com/inventor/juan-manuel-vuletich
linkedin.com/in/juan-vuletich-75611b3
twitter.com/JuanVuletich



More information about the Cuis-dev mailing list