diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2014-09-24 16:37:12 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2014-09-24 16:37:12 +0200 |
| commit | 41debbfd7649a347f5c49489ed4de536f9d62c78 (patch) | |
| tree | 752cd7a1bb90e142c2b928a2d16d6f7956c1a417 /editor.h | |
| parent | 3a24e6a5562e4b1ea456fbe36607bd8a9c92744d (diff) | |
| download | vis-41debbfd7649a347f5c49489ed4de536f9d62c78.tar.gz vis-41debbfd7649a347f5c49489ed4de536f9d62c78.tar.xz | |
Change split/vsplit API
Diffstat (limited to 'editor.h')
| -rw-r--r-- | editor.h | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -140,14 +140,15 @@ bool editor_window_new(Editor*, const char *filename); /* reload the file currently displayed in the window from disk */ bool editor_window_reload(EditorWin*); void editor_window_close(EditorWin*); -/* split the given window either horizontally or vertically, changes to - * the displayed text will be reflected in both windows */ +/* split the given window. changes to the displayed text will be reflected + * in both windows */ bool editor_window_split(EditorWin*); -bool editor_window_vsplit(EditorWin*); /* focus the next / previous window */ void editor_window_next(Editor*); void editor_window_prev(Editor*); - +/* rearrange all windows either vertically or horizontally */ +void editor_windows_arrange_vertical(Editor*); +void editor_windows_arrange_horizontal(Editor*); /* display a user prompt with a certain title */ void editor_prompt_show(Editor*, const char *title); /* hide the user prompt if it is currently shown */ |
