Next: Tree-buffers with images, Previous: Style basics, Up: Tree-buffer styles [Contents][Index]

#### 4.1.2.2 How to customize the ascii-styles

The ECB-option `ecb-tree-buffer-style` offers two different styles completely drawn with ascii-controls and -guides.

Ascii-style with guide-lines (value `ascii-guides`)11:

    [-] ECB
     |  [+] code-save
     `- [-] ecb-images
         |  [-] directories
         |   |  [-] height-15
         |   |   |  * close.xpm
         |   |   |  * empty.xpm
         |   |   |  * leaf.xpm
         |   |   `- * open.xpm
         |   |  [+] height-17
         |   |  [+] height-19
         |   `- [+] height-21
         |  [x] history
         |  [x] methods
         `- [x] sources

Ascii-style without guide-lines (value `ascii-no-guides`) - this is the style used by ECB <= 1.96:

    [-] ECB
        [+] code-save
        [-] ecb-images
            [-] directories
                [-] height-15
                    * close.xpm
                    * empty.xpm
                    * leaf.xpm
                    * open.xpm
                [+] height-17
                [+] height-19
                [+] height-21
            [x] history
            [x] methods
            [x] sources

The tree-layout of both ascii-styles can be affected with the options `ecb-tree-indent` and `ecb-tree-expand-symbol-before` (the examples above have set 4 for the former and true for the latter one). For the guide-style the face and color of the guide- and handle-symbols can be customized with the option `ecb-tree-guide-line-face` (default is the equal-named face).

#### Footnotes

### (11)

For a better look&feel of such a tree-buffer ECB displays only the last subnode of an opened node with a handle!