aboutsummaryrefslogtreecommitdiff
path: root/editor.h
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2014-09-11 15:52:32 +0200
committerMarc André Tanner <mat@brain-dump.org>2014-09-11 15:52:32 +0200
commit6c5bdddbb5e7f79a04a0ee2bd7a9252035151812 (patch)
tree128f04c8f39aac526414056fda2c4ac11eb46ea1 /editor.h
parent89c99d64005f9e31b70f7eae8c0f6a76b24f4b14 (diff)
downloadvis-6c5bdddbb5e7f79a04a0ee2bd7a9252035151812.tar.gz
vis-6c5bdddbb5e7f79a04a0ee2bd7a9252035151812.tar.xz
Add :edit command
Diffstat (limited to 'editor.h')
-rw-r--r--editor.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/editor.h b/editor.h
index 8ca1a79..f7030b0 100644
--- a/editor.h
+++ b/editor.h
@@ -128,6 +128,8 @@ void editor_syntax_unload(Editor*);
/* creates a new window, and loads the given file. if filename is NULL
* an unamed / empty buffer is created */
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*);
/* if filename is non NULL it is equivalent to window_new call above.
* if however filename is NULL a new window is created and linked to the