[squeak-dev] Cmd-Shift-J

Eliot Miranda eliot.miranda at gmail.com
Tue Dec 24 01:33:54 UTC 2019


Hi Levente,

On Mon, Dec 23, 2019 at 4:58 PM Levente Uzonyi <leves at caesar.elte.hu> wrote:

> Hi Eliot,
>
> Cmd-Shift-J (aka Shift-Alt-J) does the same as Cmd-J, but replaces all
> occurrences of the selection. It was recently messed up a bit (probably in
> 5.2, so try an 5.1 image to see how it used to work), so now you have
> to press it twice, and sometimes it corrupts the replacement text.
>
> When I want selective replacements, I press Cmd-J to replace the
> current selection, and press Cmd-G to skip it. It's not exactly
> what you want, but solves the same problem.
>

Neat.  I shall try and get that into my muscle memory.  Thanks.


>
> Levente
>
> On Mon, 23 Dec 2019, Eliot Miranda wrote:
>
> > What do people think about adding Cmd-Shift-J to do what Cmd-J does but
> only on entire words?  For example, I just edited a method where I wanted
> to replace window with windowSpec and later window with systemWindow.  Using
> > Cmd-J wasn't;t an option because the string window occurred as a prefix
> in may places.  But a Cmd-J that respected word boundaries and only
> replaced whole words matching the search & replace would have worked nicely
> and be
> > easy to remember.
> > _,,,^..^,,,_
> > best, Eliot
> >
> >
>


-- 
_,,,^..^,,,_
best, Eliot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20191223/83a630ca/attachment.html>


More information about the Squeak-dev mailing list