Node:Using the mouse, Next:Using the keyboard, Previous:Usage of ECB, Up:Usage of ECB
Normally you get best usage if you use ECB with a mouse. ECB distinguishes between a primary and a secondary mouse-button.
With the option
ecb-primary-secondary-mouse-buttons the following
combinations of primary and secondary mouse-buttons are possible:
If you change this during ECB is activated you must deactivate and activate ECB again to take effect.
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 is called the POWER-click and does the following (depending on the ECB-buffer where the POWER-click occurs):
ecb-token-visit-post-actions). But this works only for sources parsed by semantic, not by imenu or etags!
Per default the complete node-name of an item in a tree-buffer is
displayed in the echo-area if the mouse moves over it, regardless if
the related window is the active one or not. You get the same effect
always after a POWER-click. In general: Via
ecb-show-node-info-in-minibuffer you can specify in a detailed
manner for every ECB tree-buffer when and which node-info should be
displayed in the minibuffer.
The secondary mouse-button is for opening (jumping to) the file in the other
window (see the documentation
In each ECB-buffer mouse-3 (= right button) opens a special context popup-menu for the clicked item where you can choose several senseful actions.
With the options
ecb-history-menu-user-extension you can add new commands to the
With the options
ecb-history-menu-sorter you can even re-arrange all the entries
of the popup-menus.
In each tree-buffer of ECB you can easily scroll left and right with
the mouse if the option
ecb-tree-easy-hor-scroll is not
The reason for this is: 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
scroll-right can be annoying
and are also not bound to mouse-buttons.
ECB offers three ways for smoothly hor. scrolling with GNU Emacs if
ecb-tree-easy-hor-scroll is a positive integer-value S:
C-M-mouse-3are bound to scrolling left rsp. right with scroll-step
This is NOT done for XEmacs cause of its horizontal scrollbars. If you want scrolling left and right with the mouse in XEmacs then activate the horizontal scrollbars.
means mouse-2 while CTRL-key is pressed.