[squeak-dev] Survey | Global save-image shortcut cmd+shift+s? Masks "insert 'self' "
marcel.taeumel at hpi.de
Wed Dec 29 13:02:48 UTC 2021
> Any other ideas on how to make cmd+[ available on non-US layouts?
I meant "cmd+]" ... which is a global shortcut to save the image if the preference "legacy keyboard shortcuts" is not enabled.
Am 29.12.2021 14:01:45 schrieb Marcel Taeumel <marcel.taeumel at hpi.de>:
Hi Jakob, hi Jaromir --
Those are all valid points. Thanks. And most importantly, cmd+shift+s invokes pretty-print on the text selection, which evaluates to "self" for an empty selection. :-D
Compiler new formatNoPattern: '' environment: nil
So, I guess we will not change cmd+shift+s for now? At least, it is no global shortcut. Thus, applications are free to re-define it.
Any other ideas on how to make cmd+[ available on non-US layouts?
P.S.: Jaromir, cmd+... is ctrl+... or alt+... on Windows or Linux platforms. See KeyboardEvent >> #checkCommandKey for more information.
Am 29.12.2021 12:22:11 schrieb Jaromir Matas <mail at jaromir.net>:
Not sure if it’s related but Ctrl+Shif+s or Alt+Shift+s (in Windows) invoke pretty print in methods, self only in Workspace et al. Help -> Keyboard Shortcuts map it to pretty print too… (I’m not using either).
From: Jakob Reschke [mailto:jakres+squeak at gmail.com]
Sent: Wednesday, December 29, 2021 12:08
To: The general-purpose Squeak developers list [mailto:squeak-dev at lists.squeakfoundation.org]
Subject: Re: [squeak-dev] Survey | Global save-image shortcut cmd+shift+s? Masks "insert 'self' "
No objections, but a question: applications implemented in Squeak
might want to handle cmd+shift+s by themselves (e. g. "save to another
file"...); would that still be possible?
Though I do not wish to rescue "insert self" in that manner, it can be
removed as far as I am concerned.
Am Mi., 29. Dez. 2021 um 11:46 Uhr schrieb Marcel Taeumel
<marcel.taeumel at hpi.de>:
> Hi all --
> Chris agreed that we can change our current cmd+] shortcut for saving the image to cmd+shift+s. If I remember correctly, he introduced that shortcut many years ago.
> This change would mask the "insert 'self' " shortcut in (Smalltalk) text editors. Yet, it would allow non-US keyboards to be able to actually hit that shortcut. :-)
> Is everybody okay with this? Objections?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Squeak-dev