Re: Need script or method to create a sitemap or site index

2011-01-18 Thread Stefano
On 15 Gen, 09:02, BBunny fran...@cherman.com wrote: The Misc menu in previous versions of BBEdit contained an index feature, which generated a hierarchical index—in other words, a sitemap —of a Web site, with live links to the pages. With version 9.6, that feature has been eliminated. Can

Re: Where would I be today?

2011-01-18 Thread Simdude
BBedit is an awesome tool but if it didn't exist, you would become proficient in another editor. I don't have the option of BBedit at work because we mostly work with Linux so I've gotten good with vi. I've seen experts in vi that do amazing things. The key is to take the tool you like and learn

Regex Find

2011-01-18 Thread Christopher Stone
Hey Folks, I've been looking at positive and negative assertions until my head is spinning. :) What I want to do is find the entirety of line 1 but *not* line 2: ./Address Book.app ./Address Book.app/Contents/CodeResources.app So I want to find a line that ends with .app but it cannot

Re: Regex Find

2011-01-18 Thread golem
(^[a-zA-Z0-9./ ]+.appr) BODY { font-family:Arial, Helvetica, sans-serif;font-size:12px; } On Tue 11/01/18 14:29 , Christopher Stone wrote: Hey Folks, I've been looking at positive and negative assertions until my head is spinning. :) What I want to do is find the entirety of line 1 but

Re: Regex Find

2011-01-18 Thread Ronald J Kimball
On Tue, Jan 18, 2011 at 01:29:50PM -0600, Christopher Stone wrote: Hey Folks, I've been looking at positive and negative assertions until my head is spinning. :) What I want to do is find the entirety of line 1 but *not* line 2: ./Address Book.app ./Address

Re: Regex Find

2011-01-18 Thread Rick
I think you will have to state the problem more precisely. On Tue, Jan 18, 2011 at 11:29 AM, Christopher Stone ccstone1...@gmail.comwrote: Hey Folks, I've been looking at positive and negative assertions until my head is spinning. :) What I want to do is find the entirety of line 1 but

Re: Regex Find

2011-01-18 Thread Christopher Stone
On Jan 18, 2011, at 15:02, Ronald J Kimball wrote: Here's the approach I usually take for this kind of task: ^(?(?:(?!\.app).)*)\.app$ __ Hey Ronald, I bow before the master. :) For Rick: After looking at golem's approach

Applescript equivalent of Ctrl-O (open line)

2011-01-18 Thread Watts Martin
I'm working on a little AppleScript that replicates a trivial but cherished feature of another editor -- being able to press Ctrl-Return (or whatever) and having it start the new line with an appropriate indent. My script does the right thing now as long as there's nothing on the line below where

Re: Applescript equivalent of Ctrl-O (open line)

2011-01-18 Thread Kendall Conrad
System events are certainly the easier (shorter) way to do it: --- tell application BBEdit to tell front window activate tell application System Events to keystroke end tell application System Events to keystroke return tell application System Events to keystroke

Applescript equivalent of Ctrl-O (open line)

2011-01-18 Thread Watts Martin
I'm working on a little AppleScript that replicates a trivial but cherished feature of another editor -- being able to press Ctrl-Return (or whatever) and having it start the new line with an appropriate indent. My script does the right thing now as long as there's nothing on the line below where