diff options
Diffstat (limited to 'ted-internal.h')
-rw-r--r-- | ted-internal.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ted-internal.h b/ted-internal.h index 40d87f8..fdd46ef 100644 --- a/ted-internal.h +++ b/ted-internal.h @@ -167,6 +167,8 @@ typedef struct ConfigPart ConfigPart; /// A single undoable edit to a buffer typedef struct BufferEdit BufferEdit; +typedef struct EditNotifyInfo EditNotifyInfo; + struct TextBuffer { /// NULL if this buffer is untitled or doesn't correspond to a file (e.g. line buffers) char *path; @@ -248,6 +250,9 @@ struct TextBuffer { BufferEdit *undo_history; /// dynamic array of redo history BufferEdit *redo_history; + + u64 edit_notify_id; + EditNotifyInfo *edit_notifys; }; /// an entry in a selector menu (e.g. the "open" menu) |