Html Indention

Syntax highlighting, code folding, brace matching, code indenting, and function list

Html Indention

Postby itachi » Mon Jul 17, 2006 5:46 pm

I don't really understand why there is no one who has ever needed the indention feature for html coding. And i don't know why it isn't working on html. So my question is: how can i enable autoindention with html if there is the possiblity?
thx for help
User avatar
itachi
Newbie
 
Posts: 1
Joined: Sun Jul 16, 2006 11:00 pm

Re: Html Indention

Postby Mofi » Tue Jul 18, 2006 5:09 am

At Configuration - Editor - Word Wrap/Tab Settings create a new extension group for HTML files and specify the tab and indent values you want. Don't use the default group!

Second enable at Configuration - Editor Display - Formatting the option Allow indent.

According to the syntax highlighting definition in the wordfile.txt for /L3"HTML" the indent and unindent strings are:

/Indent Strings = "<"
/Unindent Strings = "</"

Modify these strings in wordfile.txt if you are not satisfied with it.
User avatar
Mofi
Grand Master
Grand Master
 
Posts: 4056
Joined: Thu Jul 29, 2004 11:00 pm
Location: Vienna


Return to Syntax Highlighting