<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from text --><style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<meta content="text/html; charset=UTF-8">
<style type="text/css" style="">
<!--
p
        {margin-top:0;
        margin-bottom:0}
-->
</style>
<div dir="ltr">
<div id="x_divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:#000000; font-family:Calibri,Helvetica,sans-serif">
<p>Hi Eliot,</p>
<p><br>
</p>
<p>I find this very interesting. So there could be a suspension point "inside" inlined #ifNotNil:?</p>
<p><br>
</p>
<p>(By the way, maybe we should add something like Object class>>#whatIsASuspensionPoint, I'm always unsure where they might occur and where not ...)</p>
<p><br>
</p>
<p>Best,</p>
<p>Christoph</p>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>Von:</b> Squeak-dev <squeak-dev-bounces@lists.squeakfoundation.org> im Auftrag von commits@source.squeak.org <commits@source.squeak.org><br>
<b>Gesendet:</b> Dienstag, 26. Juli 2022 21:01:15<br>
<b>An:</b> squeak-dev@lists.squeakfoundation.org; packages@lists.squeakfoundation.org<br>
<b>Betreff:</b> [squeak-dev] The Trunk: Morphic-eem.2021.mcz</font>
<div> </div>
</div>
</div>
<font size="2"><span style="font-size:10pt;">
<div class="PlainText">Eliot Miranda uploaded a new version of Morphic to project The Trunk:<br>
<a href="http://source.squeak.org/trunk/Morphic-eem.2021.mcz">http://source.squeak.org/trunk/Morphic-eem.2021.mcz</a><br>
<br>
==================== Summary ====================<br>
<br>
Name: Morphic-eem.2021<br>
Author: eem<br>
Time: 26 July 2022, 12:01:10.585585 pm<br>
UUID: 3cae6374-47d3-49e9-99a8-8c59697058d1<br>
Ancestors: Morphic-eem.2020<br>
<br>
Tiny reliability tweak.<br>
<br>
=============== Diff against Morphic-eem.2020 ===============<br>
<br>
Item was changed:<br>
  ----- Method: TextMorph>>minHeight (in category 'layout') -----<br>
  minHeight<br>
  <br>
         | result |<br>
         result := (paragraph<br>
                 ifNil: [self minCompositionHeight]<br>
+                ifNotNil: [:para| para lines first lineHeight])<br>
-                ifNotNil: [paragraph lines first lineHeight])<br>
                         + (self borderWidth*2).<br>
         margins ifNil: [^ result].<br>
         <br>
         ^ margins isRectangle<br>
                 ifTrue: [result + margins top + margins bottom]<br>
                 ifFalse: [margins isPoint<br>
                         ifTrue: [result + margins y + margins y]<br>
                         ifFalse: [result + (2*margins)]]!<br>
<br>
<br>
</div>
</span></font>
</body>
</html>