On 08/02/2013 02:17, Zephyr Mays wrote:

...I'd like to select/highlight something like: These_Underscores_Need_To_Be_Spaces

Hit a keyboard shortcut to end up with: These Underscores Need To Be Spaces

In almost all such cases a text filter is the solution. If you save the script below in your Text Filters folder, you will be able to set a key-shortcut in the Text Filters palette. The palettes sub-menu is under the Window menu.

#!/usr/bin/perl
while(<>) {
  s~_~ ~g;
  print;
}

JD

--
--
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