Node:ecb-tree-buffer, Next:ecb-directories, Previous:ecb-general, Up:Customizable options
This group contains general settings related to the tree-buffers of ECB:
common-tree-buffer-after-create-hook | User Option |
Local hook running at the end of each tree-buffer creation. Every
function of this hook is called once without arguments direct after
creating a tree-buffer of ECB and it's local key-map. So for example a
function could be added which performs calls of local-set-key
to define new keybindings for EVERY tree-buffer.
The following keys must not be rebind in all tree-buffers:
|
primary-secondary-mouse-buttons | User Option |
Primary- and secondary mouse button for using the ECB-buffers. A click
with the primary button causes the main effect in each ECB-buffer:
A click with the primary mouse-button while the SHIFT-key is pressed called the POWER-click and does the following (depending on the ECB-buffer where the POWER-click occurs):
In addition always the whole node-name is displayed in the minibuffer after a POWER-click \(for this see also `ecb-show-node-info-in-minibuffer'). The secondary mouse-button is for opening (jumping to) the file in
another edit-window (see the documentation
The following combinations are possible:
Please note: If the tree-buffers are used with the keyboard instead with the mouse then RET is interpreted as primary mouse-button and C-RET as secondary mouse-button! If you change this during ECB is activated you must deactivate and activate ECB again to take effect |
tree-buffer-style | User Option |
The style of the tree-buffers.
There are three different styles available:
Image-style (value Ascii-style with guide-lines (value [-] 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 [-] 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 With both ascii-styles the tree-layout can be affected with the
options |
tree-do-not-leave-window-after-select | User Option |
Tree-buffers which stay selected after a key- or mouse-selection. If a
buffer (either its name or the variable-symbol which holds the name)
is contained in this list then selecting a tree-node either by RET or
by a mouse-click doesn't leave that tree-buffer after the
node-selection but performes only the appropriate action (opening a
new source, selecting a method etc.) but point stays in the
tree-buffer. In tree-buffers not contained in this option normaly a
node-selection selects as "last" action the right edit-window or
maximizes the next senseful tree-buffer in case of a currently
maximized tree-buffer (see
ecb-maximize-next-after-maximized-select ).
The buffer-name can either be defined as plain string or with a symbol which contains the buffer-name as value. The latter one is recommended for the builtin ECB-tree-buffers because then simply the related option-symbol can be used. A special remark for the The setting in this option is only the default for each tree-buffer.
With the command |
tree-easy-hor-scroll | User Option |
Scroll step for easy hor. scrolling via mouse-click in tree-buffers.
XEmacs has horizontal scroll-bars so invisible parts beyond the right
window-border of a tree-buffer can always made visible very easy.
GNU Emacs does not have hor. scroll-bars so especially with the mouse
it is quite impossible to scroll smoothly right and left. The
functions If this option is a positive integer S then in all ECB-tree-buffers
the keys M-mouse-1 and Additionally Default is a scroll-step of 5. If the value is |
tree-expand-symbol-before | User Option |
Show the expand symbol before the items in a tree. When the
expand-symbol is located before the items then the tree looks like:
[-] ECB [+] code-save [-] ecb-images [-] directories When located after then the tree looks like:
ECB [-] code-save [+] ecb-images [-] directories [-] The after-example above use a value of 2 for It is recommended to display the expand-symbol before because otherwise it could be that with a deep nested item-structure with and/or with long item-names (e.g. a deep directory-structure with some long subdirectory-names) the expand-symbol is not visible in the tree-buffer and the tree-buffer has to be horizontal scrolled to expand an item. |
tree-image-icons-directories | User Option |
Directories where the images for the tree-buffer can be found. This is
a cons cell where:
car: Default directory where the default images for the tree-buffer
can be found. It should contain an image for every name of
cdr: This is a list where each element is a cons again with: car is
the buffer name of the tree-buffer for which a special image-path
should be used. The buffer-name can either be defined as plain string
or with a symbol which contains the buffer-name as value. The latter
one is recommended for the builtin ECB-tree-buffers because then
simply the related option-symbol can be used (e.g. the symbol
ECB comes with predefined images in several different heights - so for the most senseful font-heights of a tree-buffer a fitting image-size should be available. The images reside either in the subdirectory "ecb-images" of the ECB-installation or - if ECB is installed as regular XEmacs-package - in the ECB-etc data-directory (the directory returned by (locate-data-directory "ecb"). |
tree-incremental-search | User Option |
Enable incremental search in the ECB-tree-buffers. For a detailed explanation see the online help section "Working with the keyboard in the ECB buffers". If you change this during ECB is activated you must deactivate and activate ECB again to take effect. |
tree-indent | User Option |
Indent size for tree buffer. If you change this during ECB is activated you must deactivate and activate ECB again to take effect. |
tree-mouse-action-trigger | User Option |
When the tree-buffer mouse-action should be triggered. This option
determines the moment a mouse-action in a tree-buffer is triggered.
This can be either direct after pressing a mouse-button (value
button-press ) or not until releasing the mouse-button (value:
button-release ).
If you change this during ECB is activated you must deactivate and activate ECB again to take effect! |
tree-navigation-by-arrow | User Option |
Enable smart navigation in the tree-windows by horiz. arrow-keys. If
not nil then the left- and right-arrow keys work in the ECB
tree-window in the following smart way if onto an expandable node:
If this option is changed the new value takes first effect after deactivating ECB and then activating it again! |
tree-truncate-lines | User Option |
Truncate lines in ECB buffers. If a buffer (either its name or the
variable-symbol which holds the name) is contained in this list then
line-truncation is switched on for this buffer otherwise it is off.
The buffer-name can either be defined as plain string or with a symbol
which contains the buffer-name as value. The latter one is recommended
to switch on line-truncation for one of the builtin ECB-tree-buffers
because then simply the related option-symbol can be used. To truncate
lines in the builtin directories tree-buffer just add the symbol
If you change this during ECB is activated you must deactivate and activate ECB again to take effect. |
truncate-long-names | User Option |
Truncate long names that don't fit in the width of the ECB windows. If you change this during ECB is activated you must deactivate and activate ECB again to take effect. |