<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<br>
<br>
<font face="DejaVu Sans Mono">Thank you Subbu, I see the table where
the shortcuts are defined, nice ! <br>
<br>
bye<br>
n.<br>
</font><br>
<div class="moz-cite-prefix">On 8/4/19 10:55 PM, K K Subbu wrote:<br>
</div>
<blockquote type="cite"
cite="mid:be5587e6-1c65-8d86-1a70-65bd8cb006ca@gmail.com">On
05/08/19 9:30 AM, Nicola Mingotti wrote:
<br>
<blockquote type="cite">I am using Squeak5.2, in MacOS.
<br>
<br>
According to Help -> Keyboard Shortcut:
<br>
----
<br>
Ctrl-' Toggle enclosure within double-quotes
<br>
Cmd-' Toggle enclosure within single-quotes
<br>
----
<br>
<br>
Neither of those works. The only way to make a selected part of
text
<br>
commented is to press Shift+' . This sequence does not toggle,
it
<br>
just quotes the region.
<br>
<br>
I may have installed a nasty package because I am pretty sure I
was
<br>
able to comment/uncomment regions a few days ago.
<br>
<br>
Do you observe the same behavior ?
<br>
</blockquote>
<br>
I am unable to reproduce this in Squeak 5.2-18231 (Linux 64b).
Alt-' (Alt in Linux = Cmd key in Mac) works as expected. Ctrl-' is
treated like alt-shift-' (alt-").
<br>
<br>
<blockquote type="cite">Post Scriptum: Can you tell me where this
is implemented and save m
<br>
X hours of digging ?:) I would like to change it a bit.
<br>
</blockquote>
<br>
TextEditor>>enclose: handles this action. This method is
invoked from a lookup table cmdMap initialized in TextEditor
class>>initializeCmdKeyShortcuts.
<br>
<br>
BTW, you may want to keep the following code snippets handy in a
workspace to debug keyboard events:
<br>
<br>
HandMorph showEvents: true
<br>
HandMorph showEvents: false
<br>
<br>
HTH .. Subbu
<br>
</blockquote>
<br>
</body>
</html>