mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-23 01:46:18 +04:00
5bd007266a
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) |
||
---|---|---|
.. | ||
commands | ||
languages | ||
auto_indent.rs | ||
auto_pairs.rs | ||
commands.rs | ||
helpers.rs | ||
movement.rs | ||
prompt.rs | ||
splits.rs |