changeset 453:b8b0f446b2e9

[add] Feature Request ID 1971181 : Added support for the HTML indenter HTB. git-svn-id: svn://svn.code.sf.net/p/universalindent/code/trunk@688 59b1889a-e5ac-428c-b0c7-476e01d41282
author thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
date Sat, 24 May 2008 11:33:56 +0000
parents 1d5cee30433f
children d8b7af1f33ee
files indenters/uigui_htb.ini
diffstat 1 files changed, 72 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/indenters/uigui_htb.ini	Sat May 24 11:33:56 2008 +0000
@@ -0,0 +1,72 @@
+[%20header]
+categories=Basic Options
+cfgFileParameterEnding=cr
+configFilename=
+fileTypes=*.htm|*.html|*.xhtml|*.xml|*.xlst
+indenterFileName=htb
+indenterName=HTB
+inputFileName=indentinput
+inputFileParameter=
+manual=http://www.digital-mines.com/htb/htb_docs.html
+outputFileName=
+outputFileParameter=stdout
+parameterOrder=pio
+showHelpParameter=-v
+stringparaminquotes=false
+useCfgFileParameter=
+version=2.0
+
+[Multi-Attribute Tag Break]
+Category=0
+Description="<html><p>The -a command-line option causes all tags containing more that one attribute to be broken over multiple lines, each with a single attribute. The attributes are aligned vertically with the first attribute. A similar attribute break will occur by default, but only on tags exceeding the column 80 limit, and each line may contain more than one attribute.<br><br> <b>Before:</b><pre>&lt;BODY BGCOLOR="#FFFFFF" MARGINWIDTH="0" MARGINHEIGHT="0" LINK="#666666" VLINK="#666666" ALINK="#000000"&gt;\n&lt;TABLE WIDTH="800" BORDER="0" CELLPADDING="0" CELLSPACING="0"&gt;\n&lt;TR&gt;\n&lt;TD COLSPAN="2" WIDTH="196" BGCOLOR="cccccc" VALIGN="top"&gt;&lt;IMG SRC="/images/homepage/rev/logo_06.gif" WIDTH="196" HEIGHT="63"&gt;&lt;/TD&gt;\n&lt;TD BGCOLOR="cccccc" WIDTH="600" VALIGN="top"&gt;\n&lt;TABLE WIDTH="600" BORDER="0" CELLPADDING="0" CELLSPACING="0" VALIGN="top"&gt;\n&lt;TR&gt;\n&lt;TD VALIGN="top" HEIGHT="17" BGCOLOR="#CCCCCC"&gt;&lt;IMG SRC="/images/homepage/rev/comp8_07.gif" WIDTH="600" HEIGHT="17"&gt;&lt;/TD&gt;\n&lt;/TR&gt;</pre><b>After:</b> <pre>&lt;BODY ALINK="#000000"\n      BGCOLOR="#FFFFFF"\n      LINK="#666666"\n      MARGINHEIGHT="0"\n      MARGINWIDTH="0"\n      VLINK="#666666"&gt;\n&lt;TABLE BORDER="0"\n       CELLPADDING="0"\n       CELLSPACING="0"\n       WIDTH="800"&gt;\n   &lt;TR&gt;\n      &lt;TD BGCOLOR="cccccc"\n          COLSPAN="2"\n          VALIGN="top"\n          WIDTH="196"&gt;&lt;IMG HEIGHT="63"\n                           SRC="/images/homepage/rev/logo_06.gif"\n                           WIDTH="196"&gt;&lt;/TD&gt;\n      &lt;TD BGCOLOR="cccccc"\n          VALIGN="top"\n          WIDTH="600"&gt; \n         &lt;TABLE BORDER="0"\n                CELLPADDING="0"\n                CELLSPACING="0"\n                VALIGN="top"\n                WIDTH="600"&gt;\n            &lt;TR&gt;\n               &lt;TD BGCOLOR="#CCCCCC"\n                   HEIGHT="17"\n                   VALIGN="top"&gt;&lt;IMG HEIGHT="17"\n                                    SRC="/images/homepage/rev/comp8_07.gif"\n                                    WIDTH="600"&gt;&lt;/TD&gt;\n            &lt;/TR&gt;</pre></html>"
+EditorType=boolean
+TrueFalse=-a|
+Value=0
+ValueDefault=0
+
+
+[Flow]
+Category=0
+Description="<html>Prints just tags without any data between the tags. Damages the HTML in a big way, so save a copy of your original HTML. This option helps you follow the HTML code flow visually.</html>"
+EditorType=boolean
+TrueFalse=-f|
+Value=0
+ValueDefault=0
+
+[Indent level]
+CallName="-i "
+Category=0
+Description="<html>Set indentation to this many character spaces per code nesting level. If set to 0, no indentation is done (all output is left-justified).</html>"
+EditorType=numeric
+Enabled=false
+MaxVal=9999
+MinVal=0
+Value=4
+ValueDefault=4
+
+[List tags]
+Category=0
+Description="<html>Causes hindent to print a complete list of tags that it recognizes to stdout, and exits.</html>"
+EditorType=boolean
+TrueFalse=-l|
+Value=0
+ValueDefault=0
+
+[Strict]
+Category=0
+Description="<html>Multiple tags per line are broken out onto separate lines. Can damage the HTML in minor ways by drawing an extra space character in certain parts of the web page, so save a copy of your original HTML. This option helps you follow the HTML code flow visually, especially with computer-generated HTML that comes out all on one line.</html>"
+EditorType=boolean
+TrueFalse=-s|
+Value=0
+ValueDefault=0
+
+[Tab stop]
+CallName="-t "
+Category=0
+Description="<html>Set the number of spaces that a tab character occupies on your system.  Defaults to 8, but some people prefer expanding tabs to 4 spaces instead.  If set to 0, no tabs are output (spaces used to indent lines).</html>"
+EditorType=numeric
+Enabled=false
+MaxVal=9999
+MinVal=0
+Value=4
+ValueDefault=8