<div id="__MailbirdStyleContent" style="font-size: 10pt;font-family: Arial;color: #000000;text-align: left" dir="ltr">
                                        Hi Tim --<div><br></div><div>Sorry for being lazy. Yes, we should also rename that instVar but this has a rather low priority as I am struggling at various . Here are some considerations:</div><div><br></div><div>- Add+remove instVars will kill state which is problematic here for keeping the system running</div><div>- Rename instVars is possible via meta-programming in the preamble; affected accessors/methods should be changed, though</div><div><br></div><div>As I time boxed this refactoring, I decided to address the main concern, which was the public API.</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;min-width: 500px">
                        <p style="color: #AAAAAA; margin-top: 10px;">Am 12.04.2022 07:25:11 schrieb Tim Johnson <digit@sonic.net>:</p><div style="font-family:Arial,Helvetica,sans-serif">Am I understanding this right — that these changes rename all methods to be #averageLineLength, while leaving the underlying instance variable to still be named #numCharactersPerLine?  
<br>
<br>> On Apr 7, 2022, at 12:59 AM, commits@source.squeak.org wrote:
<br>> 
<br>> Marcel Taeumel uploaded a new version of Morphic to project The Trunk:
<br>> http://source.squeak.org/trunk/Morphic-mt.1962.mcz
<br>> 
<br>> ==================== Summary ====================
<br>> 
<br>> Name: Morphic-mt.1962
<br>> Author: mt
<br>> Time: 7 April 2022, 9:59:46.204476 am
<br>> UUID: c4d79229-4b41-7242-9398-52f0b8dd10e1
<br>> Ancestors: Morphic-ct.1961
<br>> 
<br>> Renames #numCharactersPerLine to #averageLineLength. Step 1 of 2.
<br>> 
<br>> =============== Diff against Morphic-ct.1961 ===============
<br>> 
<br>> Item was added:
<br>> + ----- Method: PluggableTextMorph>>averageLineLength (in category 'accessing') -----
<br>> + averageLineLength
<br>> + 
<br>> +        ^ textMorph averageLineLength!
<br>> 
<br>> Item was added:
<br>> + ----- Method: PluggableTextMorph>>averageLineLength: (in category 'accessing') -----
<br>> + averageLineLength: numCharsOrNil
<br>> + 
<br>> +        textMorph averageLineLength: numCharsOrNil.!
<br>> 
<br>> Item was added:
<br>> + ----- Method: TextMorph>>averageLineLength (in category 'layout') -----
<br>> + averageLineLength
<br>> +        "Answers the average length per line in characters. When the entire content is composed in the receiver's #textStyle's default font, it will be an exact match only for monospaced fonts. For variable width fonts it will be an average depending on the (natural) language used, number of lines, and each glyph's advance width. Optimized for English text. Can vary greatly when combining different font faces or sizes. See commentary in #withNoLineLongerThan: and TextStyle >> #compositionWidthFor:."
<br>> + 
<br>> +        ^ numCharactersPerLine!
<br>> 
<br>> Item was added:
<br>> + ----- Method: TextMorph>>averageLineLength: (in category 'layout') -----
<br>> + averageLineLength: numCharsOrNil
<br>> +        "Reset the receiver's composition rectangle to fit approx. numChars per line. For nil, it uses a sane default for English text. See commentary in #averageLineLength."
<br>> +        
<br>> +        numCharactersPerLine = numCharsOrNil ifTrue: [^ self].
<br>> +        numCharactersPerLine := numCharsOrNil.
<br>> +        self releaseParagraph; changed.!
<br>> 
<br>> 
<br>> 
<br>
<br></div></blockquote></div>