[REQUEST] change command+w
Bert Freudenberg
bert at isg.cs.uni-magdeburg.de
Thu Nov 20 17:50:28 UTC 2003
Chris Muller wrote:
> I forgot another great side-effect.
>
> You could then use Command+w+m as a "spell-check" for the selector you just
> typed. A good alternative to command+q, and just leave your finger on the
> Command key and press "w" again to close the window. Or, it's right there if
> you want to verify it's implementation..
>
> Sweet!
>
> --- Chris Muller <afunkyobject at yahoo.com> wrote:
>
>>Date: Wed, 19 Nov 2003 17:41:35 -0800 (PST)
>>From: Chris Muller <afunkyobject at yahoo.com>
>>Subject: [REQUEST] change command+w
>>To: Squeak List <squeak-dev at lists.squeakfoundation.org>
>>
>>
>>Can we change command+w in text-editor panes to, instead of deleting the
>>prior
>>word, merely select it.
>>
>>This has a couple of benefits:
>>
>> - it provides a non-intrusive "confirmation" to the user
>> - provides a handy alternative to deletion, such as cut or copy.
>>
>>Impact is nil, since no additional or different keystrokes are needed to
>>"delete word"; as before, just continue typing.
>>
>>It almost feels more "object-oriented" too.. you are selecting the prior word
>>"object" so you can then invoke your choice of most common editor "messages"
>>for it..
>>
>>I'm not familiar with the involved classes, it's probably a really simple
>>change. Does anyone know?
>>
>>Does it sound like a good candidate for base-behavior?
Sounds good to me. I always hate it when Cmd-W deletes a word instead of
closing the current window as it is supposed to. With your change, at
least nothing bad happens anymore ;-)
Anyway, make sure repeatedly pressing extends the selection to the left.
--
Bert
More information about the Squeak-dev
mailing list
|