diff options
| author | Maxime Coste <mawww@kakoune.org> | 2018-06-03 14:30:24 +1000 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2018-07-05 07:54:28 +1000 |
| commit | d6c6ed9bbf9185ad80f640078202c80cf1b2ae4e (patch) | |
| tree | 405dcc2b1d9130f27d063486b02042722abb99c9 /src/selection.hh | |
| parent | 8aba0b3cb4e5fe758328eba9eeba0401b4e77e52 (diff) | |
Store each selection as a separate element in a register
It makes more sense to use the list nature of the register to store
the selections instead of storing them as a single string separated
by spaces.
Diffstat (limited to 'src/selection.hh')
| -rw-r--r-- | src/selection.hh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/selection.hh b/src/selection.hh index 33df78ce..1ab93aa5 100644 --- a/src/selection.hh +++ b/src/selection.hh @@ -88,8 +88,7 @@ struct SelectionList SelectionList(Buffer& buffer, Vector<Selection> s, size_t timestamp); struct UnsortedTag {}; - SelectionList(UnsortedTag, Buffer& buffer, Vector<Selection> s); - SelectionList(UnsortedTag, Buffer& buffer, Vector<Selection> s, size_t timestamp); + SelectionList(UnsortedTag, Buffer& buffer, Vector<Selection> s, size_t timestamp, size_t main); void update(); |
