[TxMt] Re: Limiting range of 'find'.

Jacob Rus jrus at hcs.harvard.edu
Mon Apr 23 22:03:26 UTC 2007


Steve King wrote:
> How do I limit the range of a find and replace operation?  Say I want to 
> change "foo" to "bar" within one function in a file, but *only* in that 
> function.  Is there a way to limit the find/replace operation to the 
> current scope, block, or selection?

Selection, yes, by holding ⌥ down in the dialog and clicking "In Selection".

Scope, no.  I'm keeping my fingers crossed for TM2 thought ;)

-Jacob




More information about the textmate mailing list