How to save a file with a filename based on a string in the file

2010-01-07 Thread Bull
I maintain html directories that consist of around a thousand records. Several directories share the same information, so updates require changing the data many times. I would like to make each record a separate file accessed by the directories via #bbinclude filename. That way I make updates in

Customised Syntax Colouring

2010-01-07 Thread Ben
G'day all, I use BBEdit for (amongst other things) PHP and SQL (PostgreSQL), as well as HTML, JS and CSS. I would like to use it for R (as in R-project), but I can't find a syntax colouring scheme that is suitable. Does one exist? Can I make my own? (Has anyone else already done one?) cheers

Re: Customised Syntax Colouring

2010-01-07 Thread Ben
G'day Jim, On Jan 7, 10:11 pm, Jim Correia jim.corr...@pobox.com wrote: Is this what you are looking for? http://www.mail-archive.com/r-sig-...@stat.math.ethz.ch/msg04556.html It looks promising - thanks for that - I looked without much success a few months ago, and then struck this list, but

Re: How to Run a line of code in external program

2010-01-07 Thread Doug McNutt
At 18:47 -0800 1/6/10, Ben wrote: G'day all, I routinely use BBEdit for coding SQL etc, and then have to select, copy, switch to the terminal window and paste to execute the line. Is there a way to create a key-stroke that will take the current line (or selection) and dump it into a nominated

Re: How to Run a line of code in external program

2010-01-07 Thread Ben
G'day Doug, On Jan 8, 1:04 am, Doug McNutt dougl...@macnauchtan.com wrote: At 18:47 -0800 1/6/10, Ben wrote: Is there a way to create a key-stroke that will take the current line (or selection) and dump it into a nominated window. Execute Text is a service I found somewhere long ago.  Have