<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"Calibri Light";
        panose-1:2 15 3 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
p.MsoNoSpacing, li.MsoNoSpacing, div.MsoNoSpacing
        {mso-style-priority:1;
        margin:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style>
</head>
<body lang="EN-US" link="blue" vlink="#954F72" style="word-wrap:break-word">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p></p>
<div>> Press CMD + z (undo)</div>
<div> > </div>
<div>> and you get back [420] but this time the whole thing selected </div>
<br>
<p></p>
<p>Wait ... this is a(nother) bug, isn't it? Should Cmd + Z restore the previous selection?</p>
<p><br>
</p>
<p>Best,</p>
<p>Christoph</p>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>Von:</b> Squeak-dev <squeak-dev-bounces@lists.squeakfoundation.org> im Auftrag von Jaromir Matas <mail@jaromir.net><br>
<b>Gesendet:</b> Freitag, 27. Mai 2022 23:37:34<br>
<b>An:</b> The general-purpose Squeak developers list<br>
<b>Betreff:</b> Re: [squeak-dev] Merge Request: autoEncloseBeforeSpace.cs</font>
<div> </div>
</div>
<div>
<div class="WordSection1">
<p class="MsoNormal">Hi Christoph,</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">+1</p>
<p class="MsoNormal">It sounds reasonable to me. Try this:</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Write</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">[420]</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Select 420 and press ] to remove the brackets</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Press CMD + z (undo)</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">and you get back [420] but this time the whole thing selected so you can’t remove the brackets by pressing ] because they’re inside the selection…</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I’m just trying to show Christoph’s proposal doesn’t feel any more inconsistent than this behavior :)</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Unless the above behavior is useful for something else :)</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Best,</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNoSpacing"><span lang="CS">--</span></p>
<p class="MsoNoSpacing"><strong><span style="font-family:"Calibri Light",sans-serif;color:#333333;font-weight:normal">Jaromír Matas</span></strong><span style="font-family:"Calibri Light",sans-serif;color:#555555"><o:p></o:p></span></p>
<p class="MsoNoSpacing"><span style="font-family:"Calibri Light",sans-serif;color:#2E75B6">mail@jaromir.net</span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div style="mso-element:para-border-div;border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="border:none;padding:0in"><b>From: </b><a href="mailto:christoph.thiede@student.hpi.uni-potsdam.de">christoph.thiede@student.hpi.uni-potsdam.de</a><br>
<b>Sent: </b>Friday, May 27, 2022 23:10<br>
<b>To: </b><a href="mailto:squeak-dev@lists.squeakfoundation.org">squeak-dev@lists.squeakfoundation.org</a><br>
<b>Subject: </b>Re: [squeak-dev] Merge Request: autoEncloseBeforeSpace.cs</p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Hi Jaromir, Marcel, all,<br>
<br>
with Morphic-mt.1824 in current Trunk, we have the following behavior for closer brackets:<br>
<br>
<i>> Via "enclose selection" preference, an opening bracket adds a level and a closer bracket removes a level. No toggling anymore.<br>
</i><br>
So pressing a closer bracket removes the pair of brackets that is <i>*enclosing*</i> the selection. However, I still wonder whether we should also remove the pair of brackets
<i>*inside*</i> the selection if there is no further pair of brackets.<br>
<br>
So that<br>
<br>
    <b><span style="color:green">[123]</span></b> (entire line selected)<br>
<br>
when pressing<br>
<br>
    ]<br>
<br>
becomes<br>
<br>
    <b><span style="color:green">123</span></b> (entire line selected)<br>
<br>
instead of (as in current Trunk)<br>
<br>
    ] (nothing selected)<br>
<br>
Or would this be more inconsistent than convenient? Wdyt?<br>
<br>
Best,<br>
Christoph<br>
<br>
<span style="color:gray">---<br>
<i>Sent from </i></span><a href="https://github.com/hpi-swa-lab/squeak-inbox-talk"><i><span style="color:gray">Squeak Inbox Talk</span></i></a><br>
<br>
On 2022-02-07T23:33:53+01:00, christoph.thiede@student.hpi.uni-potsdam.de wrote:<br>
<br>
> Just a quick note to myself, compensating for the lack of meta information on the list:<br>
> This issue has been resolved via Morphic-mt.1809. Thanks. :-)<br>
> <br>
> Best,<br>
> Christoph<br>
> <br>
> ---<br>
> Sent from Squeak Inbox Talk<br>
> <br>
> On 2021-11-01T22:09:46+01:00, christoph.thiede at student.hpi.uni-potsdam.de wrote:<br>
> <br>
> > Hi all!<br>
> > <br>
> > This changeset refines the existing autoEnclose mechanism. Instead of having inserted enclosing brackets always, you can now activate a new preference to only insert these characters if there is any space after the cursor. This matches VS Code's setting
 value "beforeWhitespace" for "editor.autoClosingBrackets".<br>
> > <br>
> > To me, this mode feels much more convenient because when having traditional autoEnclose enabled, I have been getting angry again and again when I wanted to bracketize an existing expression in some code and suddenly was disrupted by an unneeded closing
 bracket.<br>
> > <br>
> > The changeset does not manipulate any defaults. The PreferenceWizard and the ReleaseBuilder are updated, too. Please honor the postscript of the changeset when merging it.<br>
> > <br>
> > Best,<br>
> > Christoph<br>
> > <br>
> > ---<br>
> > Sent from Squeak Inbox Talk<br>
> > -------------- next part --------------<br>
> > An HTML attachment was scrubbed...<br>
> > URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20211101/4e337f68/attachment.html><br>
> > -------------- next part --------------<br>
> > A non-text attachment was scrubbed...<br>
> > Name: autoEncloseBeforeSpace.2.cs<br>
> > Type: application/octet-stream<br>
> > Size: 13012 bytes<br>
> > Desc: not available<br>
> > URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20211101/4e337f68/attachment.obj><br>
> > <br>
> > <br>
> -------------- next part --------------<br>
> An HTML attachment was scrubbed...<br>
> URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20220207/34fe035a/attachment.html><br>
> <br>
> <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</body>
</html>