HTML indentation

HTML indentation

1
NewbieNewbie
1

    Jul 17, 2006#1

    I don't really understand why there is no one who has ever needed the indentation feature for HTML coding. And I don't know why it isn't working on HTML. So my question is: How can I enable auto-indent for HTML if there is the possibility?
    Thanks for help

    6,686585
    Grand MasterGrand Master
    6,686585

      Jul 18, 2006#2

      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 Advanced - Configuration - Editor Display - Formatting the option Auto indent new lines.

      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 %APPDATA%\IDMComp\UltraEdit\wordfiles\html.uew (or wordfile.txt in very old versions of UE) if you are not satisfied with it.
      Best regards from an UC/UE/UES for Windows user from Austria