aboutsummaryrefslogtreecommitdiff
path: root/editor.h
diff options
context:
space:
mode:
Diffstat (limited to 'editor.h')
-rw-r--r--editor.h9
1 files changed, 5 insertions, 4 deletions
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 */