Re: How to change character of invisible space from a diamond to a simple grey centered dot?

2013-02-20 Thread lawlist
Thanks.  I have been experimenting with other text editors that have this 
feature, but it is difficult to find a BBedit replacement that I am 
completely happy with.

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




entabbing source code

2013-02-20 Thread Seth Dillingham
When entabbing source code (of nearly any language), I only want the
leading whitespace to be tabbified.

Unfortunately, current behavior is to entab all multi-space runs throughout
the lines.

The project I'm on at the moment has strings with long runs of space in
them, which must not be changed to tabs.

Does anyone have a script handy which entabs only the leading whitespace?

I can certainly write one, but I'm up to my ears already and if someone has
one already I'm happy to use it. :-D

Thanks,

Seth

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




Grep help?

2013-02-20 Thread Lorin Rivers
Oh Mighty Ones,

I have a big list that looks something like this:
speedo_705494_001.jpg
speedo_7051210_418.jpg
speedo_7051210_418_bk.jpg
speedo_7051200_041.jpg
speedo_7051200_041_bk.jpg
speedo_7051200_041_bk_a.jpg
speedo_7050911_173.jpg
speedo_7050911_173_bk.jpg
speedo_7050804_001.jpg
speedo_7050804_001_bk.jpg
speedo_705032_001.jpg
speedo_705031_001.jpg

and I want to make it like this:
speedo_705494_001.jpg
speedo_7051210_418.jpg,speedo_7051210_418_bk.jpg
speedo_7051200_041.jpg,speedo_7051200_041_bk.jpg,speedo_7051200_041_bk_a.jpg
speedo_7050911_173.jpg,speedo_7050911_173_bk.jpg
speedo_7050804_001.jpg,speedo_7050804_001_bk.jpg
speedo_705032_001.jpg
speedo_705031_001.jpg


My brain is dead and I can't figure it out.

Anyone have a suggestion for a regex that will accomplish this?

Thanks!
-- 
Lorin Rivers
Mosasaur: Killer Technical Marketing http://www.mosasaur.com
mailto:lriv...@mosasaur.com
512/203.3198 (m)


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




Re: Grep help?

2013-02-20 Thread Kendall Conrad
I couldn't see a way to get a 100% solution with just one grep run, but 
this works for items that have two, but not when there's three. If you run 
the same regex replace all multiple times it will accommodate more than two.

Find:
((\w+_\d+_\d+).*\.jpg)(\r(\2(.*\.jpg)))

Replace with:
\1,\4

-Kendall


On Wednesday, February 20, 2013 8:47:14 PM UTC-5, Lorin Rivers wrote:

 Oh Mighty Ones, 

 I have a big list that looks something like this: 
 speedo_705494_001.jpg 
 speedo_7051210_418.jpg 
 speedo_7051210_418_bk.jpg 
 speedo_7051200_041.jpg 
 speedo_7051200_041_bk.jpg 
 speedo_7051200_041_bk_a.jpg 
 speedo_7050911_173.jpg 
 speedo_7050911_173_bk.jpg 
 speedo_7050804_001.jpg 
 speedo_7050804_001_bk.jpg 
 speedo_705032_001.jpg 
 speedo_705031_001.jpg 

 and I want to make it like this: 
 speedo_705494_001.jpg 
 speedo_7051210_418.jpg,speedo_7051210_418_bk.jpg 
 speedo_7051200_041.jpg,speedo_7051200_041_bk.jpg,speedo_7051200_041_bk_a.jpg 

 speedo_7050911_173.jpg,speedo_7050911_173_bk.jpg 
 speedo_7050804_001.jpg,speedo_7050804_001_bk.jpg 
 speedo_705032_001.jpg 
 speedo_705031_001.jpg 


 My brain is dead and I can't figure it out. 

 Anyone have a suggestion for a regex that will accomplish this? 

 Thanks! 
 -- 
 Lorin Rivers 
 Mosasaur: Killer Technical Marketing http://www.mosasaur.com 
 mailto:lri...@mosasaur.com javascript: 
 512/203.3198 (m) 




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




File Counterparts

2013-02-20 Thread Corey Ehmke
Are counterparts (File  Counterpart) only used to switch between .c and .h 
files? It would be really handy if there were language-specfic rules, e.g. 
in Ruby the counterpart for a class file would be its corresponding spec, 
so that foo.rb's counterpart would be foo_spec.rb. Heck, why not let the 
user define a custom filename matching regex for file counterparts?

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




Re: Grep help?

2013-02-20 Thread Oliver Taylor
On Feb 20, 2013, at 5:47 PM, Lorin Rivers lriv...@mosasaur.com wrote:

 Oh Mighty Ones,
 
 I have a big list that looks something like this:
 speedo_705494_001.jpg
 speedo_7051210_418.jpg
 speedo_7051210_418_bk.jpg
 speedo_7051200_041.jpg
 speedo_7051200_041_bk.jpg
 speedo_7051200_041_bk_a.jpg
 speedo_7050911_173.jpg
 speedo_7050911_173_bk.jpg
 speedo_7050804_001.jpg
 speedo_7050804_001_bk.jpg
 speedo_705032_001.jpg
 speedo_705031_001.jpg
 
 and I want to make it like this:
 speedo_705494_001.jpg
 speedo_7051210_418.jpg,speedo_7051210_418_bk.jpg
 speedo_7051200_041.jpg,speedo_7051200_041_bk.jpg,speedo_7051200_041_bk_a.jpg
 speedo_7050911_173.jpg,speedo_7050911_173_bk.jpg
 speedo_7050804_001.jpg,speedo_7050804_001_bk.jpg
 speedo_705032_001.jpg
 speedo_705031_001.jpg
 
 
 My brain is dead and I can't figure it out.
 
 Anyone have a suggestion for a regex that will accomplish this?

Search: \n(.+bk(_a)?.jpg)+
Replace: ,\1

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