UIPainterView.st
changeset 2212 7224d23c4a37
parent 2197 873c7b960233
child 2221 8ac60d4545ad
equal deleted inserted replaced
2211:f7fac4c1afe9 2212:7224d23c4a37
   393 
   393 
   394     (self canPasteInto:containerToPasteInto) ifFalse:[
   394     (self canPasteInto:containerToPasteInto) ifFalse:[
   395         containerToPasteInto notNil ifTrue:[
   395         containerToPasteInto notNil ifTrue:[
   396             "/ search up parent list for something we can paste into
   396             "/ search up parent list for something we can paste into
   397             [containerToPasteInto notNil and:[(self canPasteInto:containerToPasteInto) not]] whileTrue:[
   397             [containerToPasteInto notNil and:[(self canPasteInto:containerToPasteInto) not]] whileTrue:[
   398                 containerToPasteInto := containerToPasteInto container.
   398                 containerToPasteInto == self ifTrue:[
       
   399                     containerToPasteInto := nil
       
   400                 ] ifFalse:[
       
   401                     containerToPasteInto := containerToPasteInto container.
       
   402                 ].
   399             ].
   403             ].
   400             self selection:containerToPasteInto.
   404             self selection:containerToPasteInto.
   401         ].
   405         ].
   402     ].
   406     ].
   403     containerToPasteInto isNil ifTrue:[
   407     containerToPasteInto isNil ifTrue:[