summaryrefslogtreecommitdiff
path: root/src/selection.hh
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2014-07-03 00:25:39 +0100
committerMaxime Coste <frrrwww@gmail.com>2014-07-05 12:10:06 +0100
commitd181a40a91f87e1fb2490281947f07b2fcd071bc (patch)
tree96220217e54f839d195c397527425f5e49f2bd9d /src/selection.hh
parent8795efdf19ad72d85b2cdc1ec1db447178520b74 (diff)
Add support for paste all (on <a-[pP]>)
Paste all pastes all yanked text at all selections, selecting each pasted text. Replace paste moves to R, and concat yank/concat delete (Y and D) are removed. Fixes #161
Diffstat (limited to 'src/selection.hh')
-rw-r--r--src/selection.hh3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/selection.hh b/src/selection.hh
index cdfca6b6..c1db3dd6 100644
--- a/src/selection.hh
+++ b/src/selection.hh
@@ -124,7 +124,8 @@ struct SelectionList
size_t timestamp() const { return m_timestamp; }
void update_timestamp() { m_timestamp = m_buffer->timestamp(); }
- void insert(memoryview<String> strings, InsertMode mode);
+ void insert(memoryview<String> strings, InsertMode mode,
+ bool select_inserted = false);
void erase();
private: