diff options
author | gibbz00 | 2023-03-09 04:08:28 +0000 |
---|---|---|
committer | GitHub | 2023-03-09 04:08:28 +0000 |
commit | 2cf4ce235662fcb272c684751b844b2ebc1b757f (patch) | |
tree | 9c794c941f6fd78ad6a3e2448c0e7844e08cde78 /helix-term/tests | |
parent | aabc8af95dd1c093da4b67151f6a7026a85e9c0e (diff) |
Fix `shrink_selection` with multiple cursors. (#6093)
* Fix #6092
Cause were some incorrect assumptions that missed an edge case in the
`Selection.contains()` calculation. Tests were added accordingly.
* Fix Selection.contains() edge-case handling.
Removing the len check short-circuit was the only thing needed as
pointed out by @dead10ck.
Diffstat (limited to 'helix-term/tests')
0 files changed, 0 insertions, 0 deletions