Re: Copy Named Symbol

2017-01-09 Thread Adrian Manea
Hey Chris, Thank you very much for the reply and the script. Since I'm an almost complete beginner in the Apple Script world, relying only on bbpackages and pre-made extensions, could you please help further? As I see it, I'm guessing the script you presented only extracts the names of the sym

Re: Copy Named Symbol

2017-01-09 Thread NĂ©stor E. Aguilera
Hi, I am somewhat lost, perhaps because I am using the trial copy of BBEdit, the evaluation period is over, and I don't know how to use text completion with BBEdit (the manual is rather obscure to me). What I have used with TextWrangler for many years and now with BBEdit is the "BBAutoComplete

Regex to find blank lines and lines with only spaces

2017-01-09 Thread Mike Pullen
1. This regular expression works in BBEdit to find all blank lines and all lines containing only whitespace: ^\n|^\s+\n 2. However, this regular expression does not find all of those same lines: ^\s+$ I've attached the file (test.txt) that I am using to test both regex's. I would like

Re: Copy Named Symbol

2017-01-09 Thread Adrian Manea
Hi Nestor, Thanks for the tip, I'll check it out. I do use BBEdit's default autocomplete, but I tend to label my theorems & such using dashes (e.g. \label{thm-newton-calculus}) and as far as I can tell, once I input the dash, the suggestions are over. I can start writing \ref{th and it will gi

Re: Regex to find blank lines and lines with only spaces

2017-01-09 Thread David Wagner
Change the plus to * -> ^\s*$ and will pickup just carriage returns or spaces and carriage returns... ;) Wags ;) WagsWorld Hebrews 4:15 Ph(primary) : 408-914-1341 Ph(secondary): 408-761-7391 On Jan 9, 2017, 07:27 -0800, Mike Pullen , wrote: > > 1. This regular expression works in BBEdit to find

Re: Regex to find blank lines and lines with only spaces

2017-01-09 Thread Marc Simpson
\s+ matches one or more whitespace characters; as such, blank lines proper (i.e. without trailing whitespace) won't be matched by ^\s+$. Try ^\s*$ (lines containing 0 or more whitespace characters). On Sun, Jan 8, 2017 at 4:57 PM, Mike Pullen wrote: > 1. This regular expression works in BBEdit t

Re: Regex to find blank lines and lines with only spaces

2017-01-09 Thread 'Bruce Linde' via BBEdit Talk
your first expression says find all blank lines or those containing only white space your second expression says find all lines containing at least one or more (specified by the plus sign) white space characters. you've specifically told it to ignore empty lines that do not contain at least one