summaryrefslogtreecommitdiff
path: root/examples/dte/selection.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/dte/selection.h')
-rw-r--r--examples/dte/selection.h22
1 files changed, 0 insertions, 22 deletions
diff --git a/examples/dte/selection.h b/examples/dte/selection.h
deleted file mode 100644
index ddd60c5..0000000
--- a/examples/dte/selection.h
+++ /dev/null
@@ -1,22 +0,0 @@
-#ifndef SELECTION_H
-#define SELECTION_H
-
-#include <stdbool.h>
-#include <stddef.h>
-#include "block-iter.h"
-#include "view.h"
-
-typedef struct {
- BlockIter si;
- size_t so;
- size_t eo;
- bool swapped;
-} SelectionInfo;
-
-void init_selection(const View *view, SelectionInfo *info);
-size_t prepare_selection(View *view);
-char *view_get_selection(View *view, size_t *size);
-size_t get_nr_selected_lines(const SelectionInfo *info);
-size_t get_nr_selected_chars(const SelectionInfo *info);
-
-#endif