Markdown kinda does this, although if you are working in a document
that already has html coding, this won't be for you.
http://daringfireball.net/projects/markdown/
It might help if you were a bit more explicit about what you're
looking at. For example, if you simply have a list of links or e-mail
addresses, this is trivial. If you're trying to scan thousands of
pages of html files, it becomes more difficult.
--
Greg Raven
Apple Valley, CA
On Mar 29, 2006, at 10:44 AM, John Gold wrote:
Is there a grep pattern to format email addresses and web site
addresses? Or does BBEdit have a built in tool to search and replace
for these? I tried creating a text factory file, but there was no
setting to format these links.
What do you mean by "format"?
Ronald
By formatting, I mean a script that will find instances of:
[EMAIL PROTECTED]
and turn it into:
<a href="mailto:[EMAIL PROTECTED]">[EMAIL PROTECTED]</a>
And the same thing with URLs
Find:
www.barebones.com
or
http://www.barebones.com
and format it as:
<a href="http://www.barebones.com">www.barebones.com</a>.
John
Custom Communications, Inc.
145 Newbury St.
Portland, ME 04101
207-771-5510
www.desktoppub.com
On Mar 29, 2006, at 12:30 PM, BBEdit-Talk List wrote:
BBEdit-Talk Digest #1615
1) Grep for email addresses and web sites or a tool
by John Gold <[EMAIL PROTECTED]>
2) Re: Grep for email addresses and web sites or a tool
by Ronald J Kimball <[EMAIL PROTECTED]>
3) Re: Emacs Key Bindings....
by Gregory Ramsperger <[EMAIL PROTECTED]>
From: John Gold <[EMAIL PROTECTED]>
Date: March 28, 2006 4:12:15 PM EST
Subject: Grep for email addresses and web sites or a tool
Is there a grep pattern to format email addresses and web site
addresses? Or does BBEdit have a built in tool to search and
replace for these? I tried creating a text factory file, but there
was no setting to format these links.
Thanks,
John
From: Ronald J Kimball <[EMAIL PROTECTED]>
Date: March 28, 2006 4:23:33 PM EST
Subject: Re: Grep for email addresses and web sites or a tool
On Tue, Mar 28, 2006 at 04:12:15PM -0500, John Gold wrote:
Is there a grep pattern to format email addresses and web site
addresses? Or does BBEdit have a built in tool to search and replace
for these? I tried creating a text factory file, but there was no
setting to format these links.
What do you mean by "format"?
Ronald
From: Gregory Ramsperger <[EMAIL PROTECTED]>
Date: March 29, 2006 7:21:30 AM EST
Subject: Re: Emacs Key Bindings....
On 3/28/06 at 7:55 AM, Curt Clifton <[EMAIL PROTECTED]> wrote:
Gregory,
I prefer to use the keyboard for common commands, but I have some
pretty awkward commands mapped to things that are "secondary." My
most frequently used items fill up the easy to hit key sets. In
Emacs, these are extended to a second layer rather than hitting a
slew of characters at once.
Being a convert from Emacs myself, I've used Quicksilver to get a
bunch more key bindings. I've created a Quicksilver trigger that
brings up the command palette, but just focus on the BBEdit Scripts
directory and subdirectories. Then within the BBEdit Scripts
directories I've created Applescripts for the things that I want to
access with sequences of keystrokes.
For example, to select the contents of a LaTeX environment I have a
script called Balance Environment (like Balance Tag for HTML). To
activate it, I hit Ctrl-Opt-Cmd-Space (i.e., mash the bottom row of
the keyboard), then type "balen-<return>". Quicksilver fires the
script and BBEdit does its thing.
It's a bit of work to set up, but with the record script feature in
BBEdit, it's quite nice. This is especially so if you are already
using Quicksilver.
Cheers,
Curt
Interesting approach; I will give it a whirl. I haven't taken a
look at Quicksilver for a long time since it kept crashing when I
tried it.
-Gregory
--
------------------------------------------------------------------
Please send bug reports to <[EMAIL PROTECTED]>, not to the list.
List FAQ: <http://www.barebones.com/support/lists/bbedit_talk.shtml>
List archives: <http://www.listsearch.com/BBEditTalk.lasso>
To unsubscribe, send mail to: <[EMAIL PROTECTED]>
--
------------------------------------------------------------------
Have a feature request? Not sure the software's working correctly?
If so, please send mail to <[EMAIL PROTECTED]>, not to the list.
List FAQ: <http://www.barebones.com/support/lists/bbedit_talk.shtml>
List archives: <http://www.listsearch.com/BBEditTalk.lasso>
To unsubscribe, send mail to: <[EMAIL PROTECTED]>
--
------------------------------------------------------------------
Have a feature request? Not sure the software's working correctly?
If so, please send mail to <[EMAIL PROTECTED]>, not to the list.
List FAQ: <http://www.barebones.com/support/lists/bbedit_talk.shtml>
List archives: <http://www.listsearch.com/BBEditTalk.lasso>
To unsubscribe, send mail to: <[EMAIL PROTECTED]>