[TxMt] Re: How can I Find / Replace multiple lines of code in the project

Steve King sking at arbor.net
Thu Jun 30 20:20:05 UTC 2011

On 2011-06-29 20:37, pier25 wrote:
> What about using "find in project" ?
> shift + cmd + F

I think the question is about the dialog box. The document Find dialog 
has a little toggle to open up multi-line search and replace fields. The 
Find In Project dialog doesn't have this.

The same functionality is there, though, even though the input is only 
one line high.  You can paste in a multi-line string, or highlight a 
multi-line string in the document and press ⌘E (Edit → Find → Use 
Selection for Find).

Or use regular expressions and enter "\n" in place of carriage returns.

Steve King
Sr. Software Engineer
Arbor Networks
+1 734 821 1461
www.arbornetworks.com <http://www.arbornetworks.com/>

More information about the textmate mailing list