Next: , Previous: Common use-cases, Up: Common use-cases


10.1 Changing faces in the ECB tree-buffers

There are two basic faces:

With these faces you can change the basic attributes easily and fast for ALL ECB-tree-buffers. But you are also able to display each ECB-tree-buffer with different faces, see the different options for every tree-buffer mentioned above.

Please note (only for XEmacs users): Cause of the lack of the font-inheritance feature using ONE other font for the ECB-methods buffer can NOT be achieved just by setting ecb-methods-general-face to ecb-default-general-face and changing the font of this default face. In addition you have to set the same font also for the face ecb-bucket-node-face like in the following example:

   (defconst my-ecb-font
             "-outline-Courier-normal-normal-13-97-96-96-c-*-iso8859-1")
   (set-face-font 'ecb-default-general-face my-ecb-font)
   (set-face-font 'ecb-bucket-node-face my-ecb-font)

This code sets the new defined font my-ecb-font as font for all1 ECB-tree-buffers (incl. the methods buffer).


Footnotes

[1] Of course ecb-directories-general-face, ecb-sources-general-face, ecb-methods-general-face and ecb-history-general-face must be set to ecb-default-general-face!