<body><div id="__MailbirdStyleContent" style="font-size: 10pt;font-family: Arial;color: #000000">
                                        Hi Jakob,<div><br></div><div>should work again in <span style="font-family: Arial, Helvetica, sans-serif;font-size: 13px">Morphic-mt.1594.</span></div><div><span style="font-family: Arial, Helvetica, sans-serif;font-size: 13px"><br></span></div><div><span style="font-family: Arial, Helvetica, sans-serif;font-size: 13px">Best,</span></div><div><span style="font-family: Arial, Helvetica, sans-serif;font-size: 13px">Marcel</span></div><div class="mb_sig"></div><blockquote class="history_container" type="cite" style="border-left-style:solid;border-width:1px; margin-top:20px; margin-left:0px;padding-left:10px;">
                        <p style="color: #AAAAAA; margin-top: 10px;">Am 25.10.2019 10:41:58 schrieb Marcel Taeumel <marcel.taeumel@hpi.de>:</p><div style="font-family:Arial,Helvetica,sans-serif"><div id="__MailbirdStyleContent" style="font-size: 10pt;font-family: Arial;color: #000000">
                                        Hi Jakob,<div><br></div><div>yes, the formatting of the first (text) character should be used for the entire (StringMorph) item just as it works in PluggableListMorphs. I will have a look at it.</div><div><br></div><div>Best,</div><div>Marcel</div><div class="mb_sig"></div><blockquote class="history_container" type="cite" style="border-left-style:solid;border-width:1px; margin-top:20px; margin-left:0px;padding-left:10px;">
                        <p style="color: #AAAAAA; margin-top: 10px;">Am 23.10.2019 22:27:53 schrieb Jakob Reschke <forums.jakob@resfarm.de>:</p><div style="font-family:Arial,Helvetica,sans-serif">
<div dir="ltr"><div class="gmail_quote"><div>Debugging this now:</div><div>0. The drawn items are IndentingListItemMorphs, which inherit from StringMorph.</div><div>1. The emphasis var of the IndentingListItemMorph is set to 1 in 5.2, but to 0 (default) in Trunk, after the item is initialized with the Text from the model.</div><div>2. StringMorph>>initWithContents:font:emphasis: uses the contents: setter in 5.2, but sets the instance variable directly in Trunk.</div><div>3. The emphasis is used in StringMorph>>fontToUse to look up a derivative font, with bold setting in my case.</div><div><br></div><div>So in 5.2 the IndentingListItemMorph contents is a String and the emphasis code is aligned with the emphasis of the first character in the Text label. In Trunk, contents is the Text label itself (and its formatting is not used) and the emphasis code is not set in accordance with the Text.</div><div><br></div><div>@Marcel: you changed the init method on 2019-08-30. Is it possible to restore the previous behavior and still keep your functional fixes? This is the Monticello version:<br></div><div><br></div><div>Name: Morphic-mt.1512<br>Author: mt<br>Time: 2 September 2019, 7:59:55.139688 am<br>UUID: 1feb80dc-74d2-2948-a7a1-0192335930f0<br>Ancestors: Morphic-mt.1511<br><br>Clean up StringMorph-related code which also moves some methods from MorphicExtras and Etoys back to Morphic such as #fullPrintOn:<br><br>- Clean up font+emphasis behavior in StringMorph; not that StringMorphs keep existing emphasis when a new font is set.<br>- MenuItemMorph did strange overrides of #hResizing and #vResizing -- I suppose a performance hack from the old days<br>- No need for UpdatingStringMorph to duplicate implementation for #contents: anymore<br>- Adds StringMorph >> #contentsFitted: (default) besides #contentsClipped: to make these options more clear<br></div></div></div>
</div></blockquote>
                                        </div></div></blockquote>
                                        </div></body>