summaryrefslogtreecommitdiff
path: root/ted.h
diff options
context:
space:
mode:
Diffstat (limited to 'ted.h')
-rw-r--r--ted.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ted.h b/ted.h
index 16fb131..8556d36 100644
--- a/ted.h
+++ b/ted.h
@@ -63,6 +63,7 @@ typedef struct {
bool is_line_buffer; // "line buffers" are buffers which can only have one line of text (used for inputs)
bool selection;
bool store_undo_events; // set to false to disable undo events
+ bool modified; // has the buffer been modified since it was loaded/saved?
float x1, y1, x2, y2;
u32 nlines;
u32 lines_capacity;