helix-mirror/helix-core
gibbz00 2cf4ce2356
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.
2023-03-09 13:08:28 +09:00
..
src Fix shrink_selection with multiple cursors. (#6093) 2023-03-09 13:08:28 +09:00
tests Replace incorrect usages of tab_width with indent_width. (#5918) 2023-02-16 23:47:59 +09:00
.gitignore Initial import. 2020-05-20 18:14:51 +09:00
Cargo.toml build(deps): bump ropey from 1.5.1 to 1.6.0 (#5859) 2023-02-06 17:44:26 -06:00