Hi Stephan,

I looked into the bug a bit and found something strange....

| m m2 |

m := ColorPanel open.
m2 := m submorphs third copy.
m = m2 panel. "prints false; the panel is duplicated "

-------------

add this method to DragWelL:

veryDeepInner: deepCopier
        super veryDeepInner: deepCopier

and it returns true.

Another observation is that after all the text is lost, if you have a 
Playground that is effected and try to do something like: (ColorPanel 
allInstances size.) it raises an error 'MessageNotUnderstood: receiver of 
"style:" is nil'  from "a GLMMorphicPharoPlaygroundRenderer 
actOnHighlightAndEvaluate: ann"

Hope this helps

Best regards,
Henrik

-----Original Message-----
From: Pharo-dev [mailto:[email protected]] On Behalf Of Stephan 
Eggermont
Sent: Friday, September 18, 2015 4:09 PM
To: [email protected]
Subject: [Pharo-dev] RubAbstractTextArea copying

I'm trying to understand how to copy a rubric text morph.
I don't have a 2nd implementor of #text:textStyle:textColor so how does this 
work?

RubAbstractTextArea>>text: t textStyle: s color: c textColor: tc
        "Private -- for use only in morphic duplication"        
        self releaseParagraph.
        super text: t textStyle: s color: c textColor: tc.


Reply via email to