Hi Hector,

an explanation for the second problem could be that the format-parser is greedy. Everything that beginns with <!-- and ends with --> is recognized as ONE comment regardless of how many --><!-- there might be inbetween and therefor formated as a single comment. (just a guess!)

I'm not sure about the first problem. As the BBEdit includes are html comments they should format according to the comment settings in the SourceFormat file (I'm not able to check my own SourceFormat file right now, so again: just a guess)

Roland



Am 16.10.2006 um 09:03 schrieb Hector Cabarcas:

I should add that BBEdit doesn't do it when it encounters the first include on the page. Only *after* the first include does it start putting that blank line in. And weirdly, if I have 2 include calls right back to back, it will only put a blank line before the first one like so:

</div>

<!--#include file="inclFooter.html" --><!--#include file="inclWhatever.html" -->
</body>




On Oct 16, 2006, at 2:56 AM, Hector Cabarcas wrote:

I'm formatting my code with a DW SourceFormat.txt file. Everytime I do, BBEdit inserts a blank line before an include like so:

</div>

<!--#include file="inclFooter.html" -->
</body>



When I format with Tidy or in BBEdit's Gentle Hierarchical mode, it doesn't do this. Does anyone know how to prevent this?

{ Hector Cabarcas }


--
------------------------------------------------------------------
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]>



--
------------------------------------------------------------------
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]>

Reply via email to