On 08.02.2013 7:37 AM, t...@luo.ma wrote:
> 
> 
> On Feb 7, 2013, at 9:38 PM, Zephyr Mays <zephyr.m...@gmail.com> wrote:
> 
>> Apologies for the newbie question; I'm just discovering the power of BBEdit.
>>
>> I'd like to change all instances of a character in a selection without 
>> invoking the find/replace dialog (in this case the _ character).
>>
>> I hope to select/highlight this: These_Underscores_Should_Be_Spaces
>>
>> Hit a keyboard shortcut and have this: These Underscores Should Be Spaces
>>
>> Thanks in advance for any suggestions; I don't even know where to start.
>>
> 
> If you made a text filter using sed it would be as simple as:
> 
>  sed 's#_# #g'
> 
> I'm on my iPad at the moment so I can't check out exactly how it's done but I 
> think it would be something like 
> 
>      #!/bin/sh
> 
>      cat $@ | sed 's#_# #g'
> 
>     
> Or perhaps the cat should be an echo. Anyway you get the idea hopefully.
> 
> TjL 
> 


In former times we were used to do this like follows: highlight the
space hit Apple ALT + E (now the space is in the replace of the find)
then highlight what you want to replace - in your case the _ and Apple +
E , and now highlight the part, where you want to search and replace and
then hit Apple Alt + =

This is not working any more, because BBEdit is replace all occurrences
of the _ :-( BareBones decided one day, to remove some features from the
Find Dialog. Nobody understood why and I am regretting these features
until today ...


marek


-- 
-- 
You received this message because you are subscribed to the 
"BBEdit Talk" discussion group on Google Groups.
To post to this group, send email to bbedit@googlegroups.com
To unsubscribe from this group, send email to
bbedit+unsubscr...@googlegroups.com
For more options, visit this group at
<http://groups.google.com/group/bbedit?hl=en>
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.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to