On 7/19/06 Mike VanHorn wrote: >Thank you to everyone for your suggestions and tips. It looks like I >will have to do one of the "tag hacks", where I either put ><html></html> or <div></div> at the top and bottom of the file I am >editing, and then deleting them when I am done, because setting the >language to HTML doesn't make any difference.
Where are you setting this? If you set the default language to HTML in your BBEdit preferences, it will apply to all new files, but not to pre-existing files that had another language set. If you're setting it using the toolbar pop-up in a particular document, it only applies to that document. >Apparently, I'm asking the wrong question. It seems that telling >BBEdit that the document is HTML is not enough to get the "Inert >Tag..." menu to appear in the pop-up menu. Is there a way to "force" >BBEdit to have the "Insert Tag..." menu appear all the time? There are two things happening. The first is that the language for the document needs to be specified as HTML, and the second is that BBEdit is following the standards, and not allowing tags to be inserted where they shouldn't be. In an HTML doc, if you have the cursor between, say, <div> and </div>, you get a long list of tags -- but not all HTML tags; you don't get <li> </li>, for example. But if you insert <ol> </ol>, you get all of the permissible tags for that context, namely <li> </li>. I can see that this presents a problem for include files. Besides starting an include file with <div> and ending it with </div> by hand, you could make yourself some glossary files for the typical includes you use. So if you freqently have separate include files that start with <p>, make a glossary file with that (and add a menu key or script to create that file from the glossary entry). Hmm, I know you didn't mean this above, but the idea of "Inert Tags" is amusing... ;-) 1; - Bruce __bruce__van_allen__santa_cruz__ca__ -- ------------------------------------------------------------------ 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]>
