diff options
author | pommicket <pommicket@gmail.com> | 2023-08-06 22:14:51 -0400 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2023-08-06 22:14:51 -0400 |
commit | 35ce572bf4333c12a6a578f72d7839042e6e273f (patch) | |
tree | 75dc03b0edd194df6ab2a3bd9daf5bd4e77f7615 /ted-internal.h | |
parent | 823815101f55ca0ce67f36867b93934ccdba1953 (diff) |
buffer edit notifications
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) |