<div id="__MailbirdStyleContent" style="font-size: 10pt;font-family: Arial;color: #000000;text-align: left" dir="ltr">
                                        Hi Jakob, hi all --<div><br></div><div>Given the current situation of your cross-platform key handling, it is advisable to not use #keyStroke (i.e., #keyCharacter) shortcuts with CTRL+<specialKey>.</div><div><br></div><div>...</div><div>CTRL+C <==> CTRL+Enter(3)</div><div>CTRL+J  <==> CTRL+Return(13)</div><div>CTRL+L  <==> CTRL+PageDown(12)</div><div><span style="font-size: 10pt">...</span><br></div><div><span style="font-size: 10pt"><br></span></div><div><span style="font-size: 10pt">If you disable "Map ASCII control characters to printable characters", you can hit, e.g.,  CTRL+C and actually get "Character enter". If you enable it, you get $c.</span></div><div><span style="font-size: 10pt"><br></span></div><div><span style="font-size: 10pt">That's why you might want to implement such shortcuts via #keyDown. Yet, I just noticed that this does not work with CTRL+M on Windows ... -.-" ... </span></div><div><span style="font-size: 10pt"><br></span></div><div><span style="font-size: 10pt">CTRL+M <==> CTRL+Return(13)</span></div><div><span style="font-size: 10pt"><br></span></div><div><span style="font-size: 10pt">Take a look at an ASCII table to understand the current issues regarding CTRL combinations with letters.</span></div><div><span style="font-size: 10pt"><br></span></div><div><span style="font-size: 10pt">Best,</span></div><div><span style="font-size: 10pt">Marcel</span></div><div><span style="font-size: 10pt"><br></span></div><div><span style="font-size: 10pt">P.S.: Note that Squeak's TextEditor has both shortcuts for control keys (ASCII < 32) as well as with the CMD/Command modifier. Some of them can be shifted as well. It's a mess. :-)</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.11.2021 21:38:37 schrieb Thiede, Christoph <christoph.thiede@student.hpi.uni-potsdam.de>:</p><div style="font-family:Arial,Helvetica,sans-serif">


<div dir="ltr">
<div id="x_divtagdefaultwrapper" dir="ltr" style="font-size: 12pt;color: #000000;font-family: Calibri,Helvetica,sans-serif">
<p>Great to know, will update my Squot soon! By the way, you could use a keylogger for another level of "backups as you type". :D</p>
<p><br>
</p>
<p>Best,</p>
<p>Christoph</p>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><span style="font-family: Calibri, sans-serif;color: #000000"><b>Von:</b> Squeak-dev <squeak-dev-bounces@lists.squeakfoundation.org> im Auftrag von Jakob Reschke <jakres+squeak@gmail.com><br>
<b>Gesendet:</b> Sonntag, 28. November 2021 21:28:12<br>
<b>An:</b> The general-purpose Squeak developers list<br>
<b>Betreff:</b> Re: [squeak-dev] Unsaved text lost when pressing Ctrl+Page Down</span>
<div> </div>
</div>
</div>
<span style="font-size: 10pt"><span style="font-size: 10pt">
<div class="PlainText">Ok, makes sense... kind of. ;-)<br>
<br>
Fortunately I was able to recall what I typed.<br>
<br>
(Off topic, but related to the change: if you want committing from the<br>
Git Browser to be much faster with FileTree repositories, you can be<br>
my fearless beta tester by updating it from the develop branch. It<br>
only writes the changed files out now, and I optimized away some<br>
unnecessary computations after writing the commit. No new version<br>
released yet.)<br>
<br>
Am So., 28. Nov. 2021 um 20:58 Uhr schrieb Thiede, Christoph<br>
<Christoph.Thiede@student.hpi.uni-potsdam.de>:<br>
><br>
> Hi Jakob,<br>
><br>
><br>
> feeling with you, lost changes can be so evil.<br>
><br>
><br>
> I just inspected a Ctrl + PgDown event using the KeyboardExerciser and currently, the Windows VM reports the key value 108 for this, which corresponds to Ctrl-Cmd-l (canceL). So this boils down to a known bug in the Win32 VM event handling ... If you need
 a really crazy workaround, you could try to map all Ctrl + <special key> shortcuts to Alt + <special key> shortcuts for Squeak.exe via AutoHotkey. ;-)<br>
><br>
><br>
> Best,<br>
><br>
> Christoph<br>
><br>
> ________________________________<br>
> Von: Squeak-dev <squeak-dev-bounces@lists.squeakfoundation.org> im Auftrag von Jakob Reschke <jakres+squeak@gmail.com><br>
> Gesendet: Sonntag, 28. November 2021 19:28:19<br>
> An: The general-purpose Squeak developers list<br>
> Betreff: Re: [squeak-dev] Unsaved text lost when pressing Ctrl+Page Down<br>
><br>
> Hi Eliot,<br>
><br>
> Thank you, but unfortunately I never accepted the changes in the text<br>
> editor during that time. So there is nothing relevant in the changes<br>
> file.<br>
><br>
> Sometimes it needs experiences like this to remind me that it is still<br>
> a good idea to frequently save things.<br>
><br>
> Kind regards,<br>
> Jakob<br>
><br>
> Am So., 28. Nov. 2021 um 19:16 Uhr schrieb Eliot Miranda<br>
> <eliot.miranda@gmail.com>:<br>
> ><br>
> > Hi Jakob,<br>
> ><br>
> >    just checking you know about Recently Logged Changes.  That will allow you to replay your work, which is recorded on the changes file.<br>
> ><br>
> > _,,,^..^,,,_ (phone)<br>
> ><br>
> > > On Nov 28, 2021, at 9:39 AM, Jakob Reschke <forums.jakob@resfarm.de> wrote:<br>
> > ><br>
> > > Dear all,<br>
> > ><br>
> > > I just lost half an hour of method changes by accidentally hitting<br>
> > > Ctrl+PgDown (the PgDown key is directly adjacent to the right arrow<br>
> > > key on my compact keyboard). There was no prompt or warning about<br>
> > > "Changes have not been saved", it is just gone.<br>
> > ><br>
> > > 1) What is the intended effect of Ctrl+PgDown? (Note that I am not<br>
> > > asking about Cmd+PgDown, which does not seem to be any different than<br>
> > > just PgDown, scrolling and taking the cursor with it.) I could not<br>
> > > find it in the "Keyboard Shortcuts" from the Help menu. The observable<br>
> > > effect is the same as Cmd+l (cancel).<br>
> > > 2) Should it not ask with the usual popup dialog whether it is ok to<br>
> > > lose the changes?<br>
> > ><br>
> > > Windows 10, Trunk image, last updated one or two weeks ago.<br>
> > > Map CONTROL keys to COMMAND keys: enabled.<br>
> > > Map ASCII control characters to printable characters: enabled.<br>
> > > Map ALT keys to OPTION keys: enabled.<br>
> > ><br>
> > > Kind regards,<br>
> > > Jakob<br>
> > ><br>
> ><br>
><br>
><br>
<br>
</div>
</span></span>
</div></blockquote></div>