Node:Maximizing the ECB windows, Next:, Previous:Hiding the ECB windows, Up:Usage of ECB



Maximizing the ECB windows

How to maximize and minimize special ecb-tree-windows

To get a better overlook about the contents of a certain ECB-window every ECB-window can be "maximized", means all other ECB-windows are deleted so only the edit-window(s) and this maximized ECB-window are visible (and maybe a compile-window if active). There are several ways to do this:

"Minimizing" such a maximized ECB-window, i.e. bringing back to its original size and displays all ecb-windows of current layout, can simply be done by redrawing the layout via the command ecb-redraw-layout (bound to C-c . lr).

Selecting a node in a maximized ecb-tree-window

When you select a node (either via mouse or RET) in a maximized tree-window the default behavior of ECB is the following:

Maximized directories-window: When selecting a directory then first automatically the maximized directories-window will be "minimized" (i.e. all ecb-windows of current layout are displayed) if the current layout contains a sources-buffer and no sources are shown in the directories-window - see ecb-show-sources-in-directories-buffer. So the source-files can be displayed in the sources-window.

Maximized sources- or history-window: When selecting a source-file in one of these buffers then first automatically the maximized window will be "minimized" (i.e. all ecb-windows of current layout are displayed) if the current layout contains a methods-buffer. So the tag-contents of the selected source-file can be displayed in the methods-window.

For a even smarter behavior ECB offers the option ecb-maximize-next-after-maximized-select which automatically maximizes the next logical tree-window after a node selection. The definition of "next logical is": Directories -> sources, sources/history -> methods. But if the current maximized tree-buffer is also contained in the option ecb-tree-do-not-leave-window-after-select (see also the tree-buffer-command ecb-toggle-do-not-leave-window-after-select which is bound to <C-t> in each tree-buffer) then ECB does *not* maximize the next logical tree-window but point stays in the currently maximized tree-buffer so for example the user can select more than one source-file from the sources-buffer.


Footnotes

  1. This command is adviced per default, see The edit-area.