Home Download Buy Blog Forum Support

Multiple Selections: Undo last Selection

Multiple Selections: Undo last Selection

Postby pleini on Fri Aug 10, 2012 3:24 pm

Hi there,

Multiple Selection is a really great tool!
Is there a possibility to undo the last selection?
I usually want to select using Ctrl + D and suddenly I realize,
that I don't want to select the following occurences and redo to the last selection
to just work "till here"

For example if I only want to rename $i in the first loop but not in the second.
I do it like this: I select $i, press Ctrl + D untill I realize that I just reached the
second loop which shouldn't be changed. So I undo the last selection and could edit all occurances I'm looking for.
Is there a undo shortcut?
Code: Select all
for ($i=0;$i<=10;$i++)
{
if ($i==...
}

for ($i=20;$i<=10;$i++)
{
if ($i==...
}


Best,
pleini!
pleini
 
Posts: 2
Joined: Fri Aug 10, 2012 3:14 pm

Re: Multiple Selections: Undo last Selection

Postby C0D312 on Fri Aug 10, 2012 3:49 pm

command/control + u is soft undo.
C0D312
 
Posts: 1063
Joined: Sun Jul 10, 2011 3:23 am

Re: Multiple Selections: Undo last Selection

Postby joshery420 on Fri Aug 10, 2012 4:08 pm

Yep, Ctrl+U allows you to deselect occurrences of a word selected with Ctrl+D
joshery420
 
Posts: 12
Joined: Tue Jul 12, 2011 4:29 pm

Re: Multiple Selections: Undo last Selection

Postby pleini on Tue Aug 14, 2012 7:17 am

Exactly, that works!
Thank you :)
pleini
 
Posts: 2
Joined: Fri Aug 10, 2012 3:14 pm

Re: Multiple Selections: Undo last Selection

Postby lekhnath on Sat Jul 12, 2014 12:58 pm

I can select multiple occurences by using the Ctrl + D key combination but cannot undo by using Ctrl + U key combination. I am currently using sublime text 3 Build 3059 in 64 bit ubuntu v13.10.
Thanks.
lekhnath
 
Posts: 1
Joined: Sat Jul 12, 2014 12:51 pm

Re: Multiple Selections: Undo last Selection

Postby rudiedirkx on Wed Aug 20, 2014 3:06 pm

Doesn't work for me either on ST 3 b3059 on Win 7.

It doesn't work when I'm multi selecting from the Find box, but it does work when I ESC out of the Find box. It also works when I don't use the Find box at all.

It'd be awesome if Soft Undo would work from inside the find box too...
rudiedirkx
 
Posts: 5
Joined: Wed May 07, 2014 3:45 pm


Return to General Discussion

Who is online

Users browsing this forum: Exabot [Bot] and 24 guests