Add a simpler definition of a ECB user layout

This commit is contained in:
2012-08-25 12:47:07 +03:00
parent a096737e1b
commit 886213aa7d

View File

@@ -39,3 +39,37 @@
(dotimes (i 2) (other-window 1) (if (equal (selected-window) ecb-compile-window) (other-window 1)))
(dotimes (i 2) (other-window 1) (if (equal (selected-window) ecb-compile-window) (other-window 1)))
)
(ecb-layout-define "user-left2" left
"This function creates the following layout:
-------------------------------------------------------
| | |
| | |
| | |
| | |
| | |
| Directories | |
| | |
| | Edit |
| | |
| | |
| | |
|--------------| |
| | |
| Methods | |
| | |
-------------------------------------------------------
| |
| Compilation |
| |
-------------------------------------------------------
If you have not set a compilation-window in `ecb-compile-window-height' then
the layout contains no persistent compilation window and the other windows get a
little more place. This layout works best if it is contained in
`ecb-show-sources-in-directories-buffer'!"
(ecb-set-directories-buffer)
(ecb-split-ver 0.75)
(ecb-set-methods-buffer)
(select-window (next-window)))