<body><div id="__MailbirdStyleContent" style="font-size: 10pt;font-family: Arial;color: #000000;text-align: left" dir="ltr">
                                        Hi Chris --<div><br></div><div>Thanks for your thoughts. There clearly seems to be a conflict of interest here due to platform issues we cannot solve in the short term. I am interested in helping all interested parties.</div><div><br></div><div>> <span style="font-family: Arial, Helvetica, sans-serif;font-size: 13px">A much better solution would be for Cmd+z to simply Undo back to the last state prior to Cmd+l being pressed.</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">Hmm... let me see whether I can combine a non-empty undo history with the "hasUnacceptedChanges" flag. :-) Thanks for the idea.</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 03.12.2021 00:54:36 schrieb Chris Muller <asqueaker@gmail.com>:</p><div style='font-family:Arial,Helvetica,sans-serif'>
<div dir="ltr">Hi Marcel, <div><br></div><div>I've experienced the situation Jakob did before and, yes, it's frustrating, but because it's extremely rare, I think this solution is worse than the problem.  I type quick expressions in code panes all the time, using Cmd+l to quickly get back the original code.  This prompt makes that use case unbearable, and I doubt it'll be effective for avoiding losing work, because the user will simply develop a habit to press Cmd+l+[Return] very quickly as a single gesture, losing their work.  </div><div><br></div><div>A much better solution would be for Cmd+z to simply Undo back to the last state prior to Cmd+l being pressed.  No prompt, but full control.  External text editors do this, BTW...</div><div><br></div><div> - Chris</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Dec 2, 2021 at 4:42 AM Marcel Taeumel <<a href="mailto:marcel.taeumel@hpi.de" target="_blank">marcel.taeumel@hpi.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div id="gmail-m_-5902146694480160297gmail-m_4749420006702130858__MailbirdStyleContent" style="font-size: 10pt;font-family: Arial;color: rgb(0,0,0);text-align: left" dir="ltr">
                                        Note that you can still have this simple, non-disrupting cancel/clear via text undo: CMD+Z<div><br></div><div>Best,</div><div>Marcel</div><div></div><blockquote type="cite" style="border-left-style:solid;border-width:1px;margin-top:20px;margin-left:0px;padding-left:10px">
                        <p style="color:rgb(170,170,170);margin-top:10px">Am 30.11.2021 23:28:45 schrieb Jakob Reschke <<a href="mailto:jakres%2Bsqueak@gmail.com" target="_blank">jakres+squeak@gmail.com</a>>:</p><div style="font-family:Arial,Helvetica,sans-serif">Thank you!<br><br>Am Mo., 29. Nov. 2021 um 11:18 Uhr schrieb <u></u>:<br>><br>> Marcel Taeumel uploaded a new version of Morphic to project The Trunk:<br>> <a href="http://source.squeak.org/trunk/Morphic-mt.1803.mcz" target="_blank">http://source.squeak.org/trunk/Morphic-mt.1803.mcz</a><br>><br>> ==================== Summary ====================<br>><br>> Name: Morphic-mt.1803<br>> Author: mt<br>> Time: 29 November 2021, 11:17:49.411615 am<br>> UUID: 8dc2a08e-8d6a-40a8-9363-63825d568895<br>> Ancestors: Morphic-mt.1802<br>><br>> Adds confirmation dialog to avoid inadvertent loss of unsaved work via keyboard shortcuts.<br>><br>> The shorcut is CTRL+L, which might be triggered via CTRL+PageDown, depending on your platform and preferences.<br>><br>> See <a href="http://lists.squeakfoundation.org/pipermail/squeak-dev/2021-November/217224.html" target="_blank">http://lists.squeakfoundation.org/pipermail/squeak-dev/2021-November/217224.html</a><br>><br>> =============== Diff against Morphic-mt.1802 ===============<br>><br>> Item was changed:<br>>   ----- Method: TextEditor>>cancel (in category 'menu messages') -----<br>>   cancel<br>>         "Cancel the changes made so far to this text"<br>> +<br>> +       model okToChange<br>> +               ifTrue: [morph cancelEdits].!<br>> -       morph cancelEdits!<br>><br>><br><br><u></u></div></blockquote>
                                        </div></div><br>
</blockquote></div>
</div></blockquote>
                                        </div></body>