On Jul 18, 2006, at 10:44 AM, Mike VanHorn wrote:
I'm working with HTML files, but they are being set up to be
includes, so
they don't have a DOCTYPE or a <html></html> combination. How do I
tell
BBEdit to recognize them as being HTML anyway, so that the pop-up
menu will
contain the "Insert Tag..." menu in it when I right-click in the
document?
Quick solution: add <div> tags around the include while you're
working on it, then get rid of them when you're done. You'll also
need to set the document language to HTML. BBEdit will stop
complaining about the lack of a parent tag and you can use the Tag
Maker or what have you.
I use a script I wrote to set my document language with the keyboard:
http://www.listsearch.com/BBEditTalk.lasso?
tab1=search&tab2=detail&skip=4&uid=20774
You can speed up the process with a script, like the Clankwerks tag-o-
matic scripts:
http://www.clankwerks.com/bbedit.shtml
These don't work out of the box in BBEdit 8, as I recall. I use the
cut tags script all the time, so if you end up using this or needing
it, I can post my modified version.
Joe
--
Joe Chellman
http://www.chellman.org/
http://www.chellman.org/pgp_key.txt
--
------------------------------------------------------------------
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]>