summaryrefslogtreecommitdiff
path: root/src/selection.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/selection.hh')
-rw-r--r--src/selection.hh4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/selection.hh b/src/selection.hh
index 1ab93aa5..510f999b 100644
--- a/src/selection.hh
+++ b/src/selection.hh
@@ -65,6 +65,10 @@ inline bool overlaps(const Selection& lhs, const Selection& rhs)
void update_selections(Vector<Selection>& selections, size_t& main,
Buffer& buffer, size_t timestamp);
+void sort_selections(Vector<Selection>& selections, size_t& main);
+void merge_overlapping_selections(Vector<Selection>& selections, size_t& main);
+void clamp_selections(Vector<Selection>& sel, const Buffer& buffer);
+
enum class InsertMode : unsigned
{
Insert,