diff options
| author | Maxime Coste <mawww@kakoune.org> | 2018-01-12 07:51:19 +1100 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2018-01-12 07:51:19 +1100 |
| commit | e74b581b0a7c6a196d0d6efa1d92e309e48483d1 (patch) | |
| tree | 3bce59146f99674f57b74258390ae36f9bdcc43d /src/input_handler.cc | |
| parent | 2366af29e2472243227b2d8cbfdbe1ab173ad9c4 (diff) | |
Save/restore main selection from/to strings
Always consider that the first selection in the list is the main
one, save selections that way.
This approach was suggested by PR #1786 but the implementation here
is different, and is used more generally whenever we save selections
to strings.
This is also the prefered way to work only on the main selection:
save selections with Z, reduce to main with <space>, restore with z.
Closes #1786
Fixes #1750
Diffstat (limited to 'src/input_handler.cc')
0 files changed, 0 insertions, 0 deletions
