<body><div id="__MailbirdStyleContent" style="font-size: 10pt;font-family: Arial;color: #000000;text-align: left" dir="ltr">
                                        Since there is #setEmphasisHere, I would call that #clearEmphasisHere or actually #setNoEmphasisHere.<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 02.04.2022 19:58:01 schrieb commits@source.squeak.org <commits@source.squeak.org>:</p><div style='font-family:Arial,Helvetica,sans-serif'>A new version of Morphic was added to project The Inbox:<br>http://source.squeak.org/inbox/Morphic-ct.1959.mcz<br><br>==================== Summary ====================<br><br>Name: Morphic-ct.1959<br>Author: ct<br>Time: 2 April 2022, 7:56:53.015869 pm<br>UUID: 1f80acc4-dd90-8a47-b327-cea807b2e8f3<br>Ancestors: Morphic-ul.1956<br><br>Resets emphasis when cancelling the edits in a text morph.<br><br>This bug can be reproduced by doing:<br> 'plonk' edit.<br>And then pressing <opt>7, <opt>0 into the editor.<br><br>MVC was not affected by this bug, I checked.<br><br>Please review.<br><br>=============== Diff against Morphic-ul.1956 ===============<br><br>Item was changed:<br>  ----- Method: PluggableTextMorph>>cancelSafely (in category 'menu commands') -----<br>  cancelSafely<br>       "Cancel all edits by replacing the content with the original contents. Retain the undo history. The model can intervene via #okToRevertChanges, which is beneficial if all edits have already be communicated via #textEdited: so that the model can cancel its internal caches."<br>  <br>       (model respondsTo: #okToRevertChanges:) ==> [model okToRevertChanges: editTextSelector]<br>            ifFalse: [^ self].<br>  <br>        self handleEdit: [<br>+           textMorph editor<br>+                     resetEmphasisHere;<br>+                   replaceAllWith: self getText.<br>-                textMorph editor replaceAllWith: self getText.<br>                self selectInterval: self getSelection.<br>               self hasUnacceptedEdits: false.<br>               self hasUserEdited: false].!<br><br>Item was added:<br>+ ----- Method: TextEditor>>resetEmphasisHere (in category 'typing support') -----<br>+ resetEmphasisHere<br>+ <br>+   emphasisHere := #().!<br><br><br></opt></opt></div></blockquote>
                                        </div></body>