From 41debbfd7649a347f5c49489ed4de536f9d62c78 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Wed, 24 Sep 2014 16:37:12 +0200 Subject: Change split/vsplit API --- editor.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'editor.h') diff --git a/editor.h b/editor.h index a607bda..e42e99c 100644 --- a/editor.h +++ b/editor.h @@ -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 */ -- cgit v1.2.3