You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
helix/helix-term
Mike Trinkala 5bd007266a
Fix panic when using join_selections_space (#9783)
Joining lines with Alt-J does not properly select the inserted spaces
when the selection contains blank lines. In the worst case it panics
with an out of bounds index.

thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value:
Char index out of bounds: char index 11, Rope/RopeSlice char length 10'

Steps to reproduce:
* Create a new document
    ```
    a

    b

    c

    d

    e
    ```
* % (Select all)
* Alt-J (join and select the spaces)
9 months ago
..
src Fix panic when using join_selections_space (#9783) 9 months ago
tests Fix panic when using join_selections_space (#9783) 9 months ago
.gitignore Initial import. 5 years ago
Cargo.toml build(deps): bump tempfile from 3.10.0 to 3.10.1 (#9733) 9 months ago
build.rs Add icon to Windows executable (#9104) 10 months ago