Hi!
Is there a way for do a "replace all" only in a selection? I can only find "Use selection for find" but that puts only the selected text into the find-part of the find-dialog. I searched for something like this in TextMate already quite often and therefore I think other ppl would use it as well but I can't remember that I've ever read a feature request for this, therefore it must be somewhere…
Niels
On 6 May 2007, at 06:44, Niels Kobschätzki wrote:
Hi!
Is there a way for do a "replace all" only in a selection? I can only find "Use selection for find" but that puts only the selected text into the find-part of the find-dialog. I searched for something like this in TextMate already quite often and therefore I think other ppl would use it as well but I can't remember that I've ever read a feature request for this, therefore it must be somewhere…
Hold shift when doing the replace (either ⌃⌘⇧F or when clicking the replace button)
Niels Kobschätzki wrote:
Is there a way for do a "replace all" only in a selection? I can only find "Use selection for find" but that puts only the selected text into the find-part of the find-dialog. I searched for something like this in TextMate already quite often and therefore I think other ppl would use it as well but I can't remember that I've ever read a feature request for this, therefore it must be somewhere…
In the find dialog, try pressing the ⌥ (opt) key.
-Jacob
On May 6, 2007, at 10:51 AM, Jacob Rus wrote:
Niels Kobschätzki wrote:
Is there a way for do a "replace all" only in a selection? I can only find "Use selection for find" but that puts only the selected text into the find-part of the find-dialog. I searched for something like this in TextMate already quite often and therefore I think other ppl would use it as well but I can't remember that I've ever read a feature request for this, therefore it must be somewhere…
In the find dialog, try pressing the ⌥ (opt) key.
Thx a lot (also for the thing with shift from Ciarán)
Niels