i have a question about search, find and replace. can i find&replace all the items from a specified folder and it's subfolders from a project? without dragging it to another project ofcourse.
it's not something that i use often anyway, so don't consider it a feature request, don't want to delay the project :P


On Thu, Apr 17, 2008 at 6:16 AM, Kevin Ridgway <kridgway@gmail.com> wrote:
Allan,

Thanks for replying to this.

My recommendation would be to have the multi-lines copied to the
clipboard, the user could cut out whatever they didn't want once they
paste it into a new document.

I was able to select (highlighted blue), when I hit Command + A, so
when that happened I assumed I was in business to get all the lines on
my clipboard in one fell swoop, which is what I wanted.

Thanks for the tip on grep, I'll give that a shot. :)

-Kevin

On Wed, Apr 16, 2008 at 10:46 PM, Allan Odgaard
<throw-away-2@macromates.com> wrote:
> On 16 Apr 2008, at 23:08, Kevin Ridgway wrote:
>
>
> > Does anyone know if you can save your search results (in Find in
> > Project dialog), as a text file?
> >
>
>  You can't. Coincidentally I had (the first) feature request for this less
> than a month ago.
>
>
>
> > I tried selecting items in the dialog and copy and pasting into a
> > textmate document, but that doesn't work.
> >
>
>  I was considering making Edit → Copy with focus on the search results
> control work for this. My fear was the discoverability, but it seems you
> would have found it, so likely I will proceed along that path :)
>
>  Still not sure exactly what part of the results the user would expect to
> get on the clipboard though. Would you want the entire line of each match
> (which would be lines, plural, for multi-line searches)?
>
>
>
> > It would be nice to get my results into it's own file.  My situation
> > is that there are many instances of a particular email address(es) in
> > some webforms, and I'd like to give a nice list (like the dialog has)
> > to someone.
> >
>
>  For now you can use find + grep in Terminal to produce the results, e.g.:
>
>     find ~/MyProject -name '*.html' -exec grep 'foo@bar.com' '{}' \;
>
>  You can give -H to grep to also output the file name, if you need it.
>
>
>  ______________________________________________________________________
>  For new threads USE THIS: textmate@lists.macromates.com
>  (threading gets destroyed and the universe will collapse if you don't)
>  http://lists.macromates.com/mailman/listinfo/textmate
>


______________________________________________________________________
For new threads USE THIS: textmate@lists.macromates.com
(threading gets destroyed and the universe will collapse if you don't)
http://lists.macromates.com/mailman/listinfo/textmate



--
Cristi
www.ralcr.com