<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hello Christian,<div><br></div><div>When faced with a problem like this, I like to work up from the lowest level. </div><div>You are wanting to debug: TextMorph > PasteUpMorph > ScrollPane > SystemWindow.</div><div><br></div><div>Work in Workspace or Inspector or Explorer, all of which allow execution of arbitrary code.</div><div>Use the Protocol browser to see all of the methods available to the class you are working on.</div><div>Create a test case by pulling items from the Objects flap. I pulled a #Playfield and then dropped a #Text on it.</div><div>Open Explorers on both Objects.</div><div>Experiment with different methods in the text explorer code window, think of words which describe the behavior you want to manipulate and use the Protocol Browser to find some.</div><div><br></div><div>Try:</div><div><div>(self owner) width: self width.</div><div>(self owner) height: self height.</div><div>self bounds: (self bounds) in: self owner.</div><div>self owner bounds: (self bounds: (self bounds) in: self owner).</div><div>self bounds: self owner bounds.</div><div><br></div><div>self owner height</div></div><div><br></div><div>Let me know if this is helpful,</div><div>jrm</div><div><br></div><div><br></div></div></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Sat, Sep 15, 2018 at 2:21 PM Christian Kellermann <<a href="mailto:ckeen@pestilenz.org">ckeen@pestilenz.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi!<br>
<br>
I have hit another issue I don't understand by browsing the system<br>
alone.  I have a TextMorhph inside a PasteUpMorph inside a ScrollPane<br>
inside a SystemWindow.<br>
<br>
When I fill it with text exceeding a certain size it gets cut off:<br>
Scrolling goes not to the end of the text.  When inspecting the<br>
TextMorph I see that the content is there fully so the display logic<br>
must be somehow responsible for this.<br>
<br>
Any hints on how I could further debug this?<br>
<br>
Kind regards,<br>
<br>
Christian<br>
<br>
<br>
-- <br>
May you be peaceful, may you live in safety, may you be free from<br>
suffering, and may you live with ease.<br>
_______________________________________________<br>
Beginners mailing list<br>
<a href="mailto:Beginners@lists.squeakfoundation.org" target="_blank">Beginners@lists.squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/mailman/listinfo/beginners" rel="noreferrer" target="_blank">http://lists.squeakfoundation.org/mailman/listinfo/beginners</a><br>
</blockquote></div>