aboutsummaryrefslogtreecommitdiff
path: root/editor.h
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2014-09-12 17:40:23 +0200
committerMarc André Tanner <mat@brain-dump.org>2014-09-12 17:40:23 +0200
commit24091be2710ca9a4aecec8f8dd1e8fc199646ee3 (patch)
tree27eaaf3d32f79d26d325f2a9086df64f7a6289dd /editor.h
parentb0ec35f5dbb550a75d9d436f32adf92808018499 (diff)
downloadvis-24091be2710ca9a4aecec8f8dd1e8fc199646ee3.tar.gz
vis-24091be2710ca9a4aecec8f8dd1e8fc199646ee3.tar.xz
Cleanup editor.h
Diffstat (limited to 'editor.h')
-rw-r--r--editor.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/editor.h b/editor.h
index ef1b4d3..6b9df05 100644
--- a/editor.h
+++ b/editor.h
@@ -14,7 +14,7 @@ typedef struct EditorWin EditorWin;
struct EditorWin {
Editor *editor; /* editor instance to which this window belongs */
Text *text; /* underlying text management */
- Win *win; /* vis window for the text area */
+ Win *win; /* window for the text area */
WINDOW *statuswin; /* curses window for the statusbar */
int width, height; /* window size including the statusbar */
EditorWin *prev, *next; /* neighbouring windows */
@@ -143,14 +143,14 @@ void editor_window_next(Editor*);
void editor_window_prev(Editor*);
/* display a user prompt with a certain title */
-void editor_prompt_show(Editor *vis, const char *title);
+void editor_prompt_show(Editor*, const char *title);
/* hide the user prompt if it is currently shown */
-void editor_prompt_hide(Editor *vis);
+void editor_prompt_hide(Editor*);
/* return the content of the command prompt in a malloc(3)-ed string
* which the call site has to free. */
-char *editor_prompt_get(Editor *vis);
+char *editor_prompt_get(Editor*);
/* replace the current command line content with the one given */
-void editor_prompt_set(Editor *vis, const char *line);
+void editor_prompt_set(Editor*, const char *line);
/* display a message to the user */
void editor_info_show(Editor*, const char *msg, ...);