diff options
| author | Albert Cervin <albert@acervin.com> | 2023-04-06 23:23:46 +0200 |
|---|---|---|
| committer | Albert Cervin <albert@acervin.com> | 2023-05-01 22:19:14 +0200 |
| commit | a123725a12e948d78badb2cb686d38548f1c633b (patch) | |
| tree | c92c46134ef5536fbbf3bf08983c4f0dea1aaf58 /src/main/bindings.h | |
| parent | b5ed4cf757afc50afb6ac499eee7b87a2648fa4c (diff) | |
| download | dged-a123725a12e948d78badb2cb686d38548f1c633b.tar.gz dged-a123725a12e948d78badb2cb686d38548f1c633b.tar.xz dged-a123725a12e948d78badb2cb686d38548f1c633b.zip | |
Implement window handling
Also implement searching.
fix undo boundaries
when it checked for other save point, it used && instead of == which
caused it to overwrite other types.
Fix bytes vs chars bug in text_get_region
Diffstat (limited to 'src/main/bindings.h')
| -rw-r--r-- | src/main/bindings.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/main/bindings.h b/src/main/bindings.h new file mode 100644 index 0000000..d0ba27c --- /dev/null +++ b/src/main/bindings.h @@ -0,0 +1,15 @@ +#include <stdint.h> + +struct keymap; +struct buffer; +struct binding; + +struct keymap *register_bindings(); + +void buffer_bind_keys(struct buffer *buffer, struct binding *bindings, + uint32_t nbindings); +void reset_buffer_keys(struct buffer *buffer); +void reset_minibuffer_keys(struct buffer *minibuffer); +struct keymap *buffer_keymap(struct buffer *buffer); + +void destroy_keymaps(); |
