summaryrefslogtreecommitdiff
path: root/ted.h
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2023-08-13 22:19:21 -0300
committerpommicket <pommicket@gmail.com>2023-08-13 22:19:21 -0300
commit79af91046d6c9f8ddca52dee1cb72181168c0f73 (patch)
tree82b70ee555d20fc6036a7f97bf94f3853130d64a /ted.h
parent74c32a957d8533f746c960e8f726670e3d6b1baf (diff)
fix ask-reload menu
Diffstat (limited to 'ted.h')
-rw-r--r--ted.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ted.h b/ted.h
index c7bb45b..79ed424 100644
--- a/ted.h
+++ b/ted.h
@@ -329,6 +329,8 @@ double buffer_get_scroll_lines(TextBuffer *buffer);
void buffer_scroll_to(TextBuffer *buffer, double cols, double lines);
/// get last time buffer was written to, in the format of \ref time_get_seconds
double buffer_last_write_time(TextBuffer *buffer);
+/// ignore any changes that have been made to the loaded file
+void buffer_ignore_changes_on_disk(TextBuffer *buffer);
/// get position of the cursor
BufferPos buffer_cursor_pos(TextBuffer *buffer);
/// returns true if anything is selected