Yeah, I don't know if I would use "replace all" on a large program. I do a 
lot of short ones where I sometimes don't pick a descriptive variable. 
Those would be ideal scenarios for me to use "replace all".

--
Bob

On Friday, May 4, 2018 at 7:52:01 PM UTC-4, flet...@cumuli.com wrote:
>
> One thing I find useful is to set a shortcut for "Replace and Find Next". 
> I use "Cmd-Opt-F" which is normally "Live Search" I guess. 
>
> I use Cmd-E and Cmd-Opt-E as described to set up a search/replace and then 
> cycle through the document doing Cmd-G to advance to the next instance and 
> either Cmd-G to skip it or Cmd-Opt-F to replace and advance. That way I can 
> contemplate each replacement to make sure I'm not going to change something 
> I don't intend. And then if it does seem safe and there are a lot of 
> instances I do a Cmd-Opt-= to finish the job. 
>
> Replace all makes me nervous, but that's what version control is for, 
> right? 
>
> [fletcher] 
>
>
> > On May 4, 2018, at 4:01 PM, Néstor E. Aguilera <nestore...@gmail.com 
> <javascript:>> wrote: 
> > 
> > Remember that "Cmd-Opt-E" is "Use Selection for Replace", complementing 
> "Cmd-E (use selection for find), so a sequence could be 
> > 
> > 1. select text, 
> > 
> > 2. Cmd-E (use selection for find), 
> > 
> > 3. replace the text with what you want, 
> > 
> > 4. Cmd-Opt-E (use the new text for replace) 
> > 
> > 5. Dangerous part: Cmd-Opt-= (replace all). 
> > 
> > Best, 
> > 
> > Nestor 
> > 
> > =============================================== 
> > 
> >> On 4 May 2018, at 10:13, Robert <sig...@gmail.com <javascript:>> 
> wrote: 
> >> 
> >> On Friday, May 4, 2018 at 2:06:28 AM UTC-4, Vlad Ghitulescu wrote: 
> >> On 4 May 2018, at 5:26, Christopher Stone wrote: 
> >> 
> >> On 05/03/2018, at 22:20, Robert <sig...@gmail.com <mailto:...@gmail.com>> 
> wrote: 
> >> 
> >> If I have a word highlighted throughout my code, is there a key combo 
> that allows me to replace the one instance and it replaces them all? 
> >> 
> >> Hey Bob, 
> >> 
> >> Not at present. 
> >> 
> >> You can use Cmd-E to “Use Selection for Find” though. 
> >> 
> >> … and then ALT-CMD-= for "Replace All". 
> >> 
> >> And if you feel courageous ;-) you could combine the both with a 
> KeyboardMaestro-Macro in the wished key combo. 
> >> 
> >> Regards, 
> >> Vlad 
> >> 
> >> 
> >> Awesome, I will try that out.  :) 
> >> 
> >> -- 
> >> Bob 
> >> 
> >> -- 
> >> This is the BBEdit Talk public discussion group. If you have a 
> >> feature request or would like to report a problem, please email 
> >> "sup...@barebones.com <javascript:>" rather than posting to the group. 
> >> Follow @bbedit on Twitter: <http://www.twitter.com/bbedit> 
> >> --- 
> >> You received this message because you are subscribed to the Google 
> Groups "BBEdit Talk" group. 
> >> To unsubscribe from this group and stop receiving emails from it, send 
> an email to bbedit+un...@googlegroups.com <javascript:>. 
> >> To post to this group, send email to bbe...@googlegroups.com 
> <javascript:>. 
> >> Visit this group at https://groups.google.com/group/bbedit. 
> > 
> > -- 
> > This is the BBEdit Talk public discussion group. If you have a 
> > feature request or would like to report a problem, please email 
> > "sup...@barebones.com <javascript:>" rather than posting to the group. 
> > Follow @bbedit on Twitter: <http://www.twitter.com/bbedit> 
> > --- 
> > You received this message because you are subscribed to the Google 
> Groups "BBEdit Talk" group. 
> > To unsubscribe from this group and stop receiving emails from it, send 
> an email to bbedit+un...@googlegroups.com <javascript:>. 
> > To post to this group, send email to bbe...@googlegroups.com 
> <javascript:>. 
> > Visit this group at https://groups.google.com/group/bbedit. 
>
>

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or would like to report a problem, please email
"supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.

Reply via email to