diff options
author | pommicket <pommicket@gmail.com> | 2023-01-04 23:16:09 -0500 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2023-01-04 23:16:09 -0500 |
commit | 629ce76eb480d63fdd57769a0d9972a1a0c0fbea (patch) | |
tree | f66c3a19c9f16ba09607e8818d49ed6c12ad4003 /buffer.c | |
parent | 808b9a13cb5c71c28db6c842b78ef7f1743283cd (diff) |
more documentation
Diffstat (limited to 'buffer.c')
-rw-r--r-- | buffer.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -2362,8 +2362,6 @@ Status buffer_load_file(TextBuffer *buffer, const char *path) { return success; } -// Reloads the file loaded in the buffer. -// Note that this clears undo history, etc. void buffer_reload(TextBuffer *buffer) { if (buffer_is_named_file(buffer)) { BufferPos cursor_pos = buffer->cursor_pos; @@ -2382,7 +2380,6 @@ void buffer_reload(TextBuffer *buffer) { } } -// has this buffer been changed by another program since last save? bool buffer_externally_changed(TextBuffer *buffer) { if (!buffer_is_named_file(buffer)) return false; |