diff options
| author | Mitja Felicijan <mitja.felicijan@gmail.com> | 2026-01-21 22:52:54 +0100 |
|---|---|---|
| committer | Mitja Felicijan <mitja.felicijan@gmail.com> | 2026-01-21 22:52:54 +0100 |
| commit | dcacc00e3750300617ba6e16eb346713f91a783a (patch) | |
| tree | 38e2d4fb5ed9d119711d4295c6eda4b014af73fd /examples/dte/copy.h | |
| parent | 58dac10aeb8f5a041c46bddbeaf4c7966a99b998 (diff) | |
| download | crep-dcacc00e3750300617ba6e16eb346713f91a783a.tar.gz | |
Remove testing data
Diffstat (limited to 'examples/dte/copy.h')
| -rw-r--r-- | examples/dte/copy.h | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/examples/dte/copy.h b/examples/dte/copy.h deleted file mode 100644 index 2281b09..0000000 --- a/examples/dte/copy.h +++ /dev/null @@ -1,26 +0,0 @@ -#ifndef COPY_H -#define COPY_H - -#include <stdbool.h> -#include <stddef.h> -#include "util/macros.h" -#include "view.h" - -typedef struct { - char *buf; - size_t len; - bool is_lines; -} Clipboard; - -typedef enum { - PASTE_LINES_BELOW_CURSOR, - PASTE_LINES_ABOVE_CURSOR, - PASTE_LINES_INLINE, -} PasteLinesType; - -void record_copy(Clipboard *clip, char *buf, size_t len, bool is_lines); -void copy(Clipboard *clip, View *view, size_t len, bool is_lines); -void cut(Clipboard *clip, View *view, size_t len, bool is_lines); -void paste(Clipboard *clip, View *view, PasteLinesType type, bool move_after); - -#endif |
