Lugaru's Epsilon
Programmer's
Editor

Context:
Epsilon User's Manual and Reference
   . . .
   Command Reference
      abort
      about-epsilon
      align-region
      . . .
      zoom-window
   Variable Reference
      . . .
      xml-auto-fill-combine
      xml-auto-fill-mode
      xml-auto-indent
      xml-indent
      xml-php-coloring
      . . .
   Changing Epsilon
   . . .

Previous   Up    Next
xml-auto-fill-mode  Variable Reference   xml-indent


Epsilon User's Manual and Reference > Variable Reference >

xml-auto-indent: preference variable

Default value: 0xff

This variable controls automatic indentation when you press <Enter> in XML mode. Bits in the variable control whether Epsilon auto-indents in specific regions of the document. The 0x1 bit makes Epsilon auto-indent when you press <Enter> outside script blocks. Other bits, as shown in the table below, make Epsilon auto-indent in that type of scripting.

 Scripting Language  Bit
 JavaScript   0x2
 VBScript   0x4
 PHP   0x8
 Python  0x10
 CSS  0x20

When you disable smart auto-indenting in a certain type of scripting by setting one of these bits, <Enter> will instead indent to the previous line. Set the 0x4000 bit if you prefer no indenting at all for regions where you've disabled smart indenting.

More info:

HTML/XML/CSS Modes



Previous   Up    Next
xml-auto-fill-mode  Variable Reference   xml-indent


Lugaru Copyright (C) 1984, 2012 Lugaru Software Ltd. All Rights Reserved.