summaryrefslogtreecommitdiff
path: root/ted.h
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2021-01-24 19:27:49 -0500
committerLeo Tenenbaum <pommicket@gmail.com>2021-01-24 19:27:49 -0500
commitf6d49d377ac136fc29457b3b4501f0488b6412e3 (patch)
tree1ff4a6885decabcc4f639a0420b94c836e01940f /ted.h
parentaccf188e7c84ee627d5e4cfe12c141e929699830 (diff)
copy/cut/paste
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;