<div dir="ltr"><div>When a you turn preference wrapFlag off in TextMorphForEditViewyou get <br></div><div>Assertion failure in Morph>>#doLayoutIn:</div><div>...</div><div>"2.2) Do one additional run on the layout if requested in #layoutInBounds:."<br> (self hasProperty: #doLayoutAgain) ifTrue: [<br> self removeProperty: #doLayoutAgain. <br> layout flushLayoutCache.<br> layout layout: self in: layoutBounds].<br> self assert: (self hasProperty: #doLayoutAgain) not].</div><div>...</div><div><br></div><div>But redoing the layout can add the property
#doLayoutAgain.
</div><div>I think this has to be changed to :</div><div>...<br></div><div>"2.2) Do one additional run on the layout if requested in #layoutInBounds:."<br> (self hasProperty: #doLayoutAgain) ifTrue: [<br> layout flushLayoutCache.<br> layout layout: self in: layoutBounds.<br> self removeProperty: #doLayoutAgain.].<br> self assert: [(self hasProperty: #doLayoutAgain) not]].</div><div>...</div><div><br></div><div><br></div><div>Best,</div><div>Karl<br></div></div>