<div id="__MailbirdStyleContent" style="font-size: 10pt;font-family: Arial;color: #000000;text-align: left" dir="ltr">
                                        Hi Christoph --<div><br></div><div>Thanks. Treat this as a piece of pre-formatted document. It is actually like source code where authors sometimes want to pre-format the linebreaks of a longer comment to not have to fiddle around with window resizing.</div><div><br></div><div>I know that some of us tend to remove manual line breaks in such longer comments but we might want to stop doing that if it is easy the retain the original format.</div><div><br></div><div>For longer comments without extra line breaks, the following preference can help programmers that have troubles reading other author's source code:</div><div><br></div><div><span style="font-size: 13.3333px">PluggableTextMorph softLineWrap: false.</span><br></div><div><span style="font-size: 13.3333px">PluggableTextMorph visualWrapBorder: true.</span><br></div><div><span style="font-size: 13.3333px">PluggableTextMorph softLineWrapAtVisualWrapBorder: true.</span><br></div><div><span style="font-size: 13.3333px">PluggableTextMorph visualWrapBorderLimit: 80.</span><br></div><div><span style="font-size: 13.3333px"><br></span></div><div><span style="font-size: 13.3333px">That said, it would be nice to have a feature in SmalltalkEditor or TextEditor that converts the soft line breaks of the current text selection into hard line breaks and vice versa.</span></div><div><span style="font-size: 13.3333px"><br></span></div><div><span style="font-size: 13.3333px">Then we can more easily preserve both styles of formatting longer commentary. :-)</span></div><div><span style="font-size: 13.3333px"><br></span></div><div><span style="font-size: 13.3333px">Best,</span></div><div><span style="font-size: 13.3333px">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;min-width: 500px">
                        <p style="color: #AAAAAA; margin-top: 10px;">Am 28.03.2022 22:09:17 schrieb commits@source.squeak.org <commits@source.squeak.org>:</p><div style="font-family:Arial,Helvetica,sans-serif">Christoph Thiede uploaded a new version of Collections to project The Trunk:<br>http://source.squeak.org/trunk/Collections-ct.999.mcz<br><br>==================== Summary ====================<br><br>Name: Collections-ct.999<br>Author: ct<br>Time: 28 March 2022, 10:08:58.886426 pm<br>UUID: d938acc0-5012-9649-960f-9b374a010b83<br>Ancestors: Collections-ct.998<br><br>Restores line breaks in Text codeSample that are required indeed for the FontImporterTool.<br><br>=============== Diff against Collections-ct.998 ===============<br><br>Item was changed:<br>  ----- Method: Text class>>codeSample (in category 'filler text') -----<br>  codeSample<br>  <br>+   self flag: #linebreaks. "Samples are used in FontImporterTool and must contain manual linebreaks (visually stable example texts per line)."<br>         ^ 'exampleWithNumber: x<br>+      "A method that illustrates every part of Smalltalk method syntax<br>+         including primitives. It has unary, binary, and keyboard messages;<br>+  declares arguments and temporaries; accesses a global variable<br>+       (but not an instance variable); uses literals (array, nested array,<br>+  character, symbol, string, integer, float, scaled decimal, and byte<br>+  array); uses the pseudo variables nil, true, false, self, super, and<br>+         thisContext; shows that within a literal array nil, true, and false are<br>+      symbols not pseudo variables; and has sequence, assignment,<br>+  return, cascade, and tuple (array) creation. It has both zero<br>+        argument and one argument blocks, and has a block temporary."<br>-   "A method that illustrates every part of Smalltalk method syntax including primitives. It has unary, binary, and keyboard messages; declares arguments and temporaries; accesses a global variable (but not an instance variable); uses literals (array, nested array, character, symbol, string, integer, float, scaled decimal, and byte array); uses the pseudo variables nil, true, false, self, super, and thisContext; shows that within a literal array nil, true, and false are symbols not pseudo variables; and has sequence, assignment, return, cascade, and tuple (array) creation. It has both zero argument and one argument blocks, and has a block temporary."<br>     <primitive: ''primitivecopybits''="" module:="" #bitbltplugin="" error:="" ec=""><br>     | y |<br>         true & false not & (nil isNil) ifFalse: [self halt].<br>          y := self size + super size.<br>          #($a #a ''a'' "a" (1 1.0 1.0s2) nil true false), { #[65]. thisContext. nil. true. false }<br>           do: [ :each | | class |<br>                       class := each class.<br>                          Transcript<br>                            show: (class name);<br>                           show: '' ''].<br>         ^ x < y'!<br><br><br></primitive:></div></blockquote></div>