Home Download Buy Blog Forum Support

Convert Find to Selection

Convert Find to Selection

Postby Phrogz on Tue Sep 28, 2010 11:28 pm

I would frequently like to copy all lines containing particular text (or delete all lines matching a regexp).

This could be done in Sublime with the addition of a feature that converted the current Find matches into actual selections. Then I could perform "Expand Selection to Line" and delete or copy as desired.

I'm so surprised that this feature doesn't exist, I wonder if it really does and I've somehow missed it.
Phrogz
 
Posts: 18
Joined: Tue Mar 02, 2010 4:21 pm

Re: Convert Find to Selection

Postby jps on Tue Sep 28, 2010 11:48 pm

'Find All' on the find panel will do this, as will Alt+F3.
jps
Site Admin
 
Posts: 3077
Joined: Wed Mar 19, 2008 12:33 pm

Re: Convert Find to Selection

Postby Phrogz on Wed Sep 29, 2010 2:58 pm

jps wrote:'Find All' on the find panel will do this, as will Alt+F3.

Sweet loving, thank you!
Phrogz
 
Posts: 18
Joined: Tue Mar 02, 2010 4:21 pm

Re: Convert Find to Selection

Postby guillermooo on Wed Sep 29, 2010 3:58 pm

I conceived the UberSelection plugin to address similar but more involved cases:

http://bitbucket.org/guillermooo/uberselection/src

It has some glitches, but you may want to give it a try.
guillermooo
 
Posts: 729
Joined: Thu Jul 23, 2009 9:06 am


Return to Ideas and Feature Requests

Who is online

Users browsing this forum: No registered users and 8 guests