editor: Fix an error when cut with vim visual line select (#17591)
Becuause in vim visual mode, we will always select next char, hit [here](https://github.com/zed-industries/zed/blob/66ef31882341852229c74996867916fbd4a2fe2a/crates/vim/src/visual.rs#L174), when using editor method for `cut` this selection, will hit this error. Closes #17585 Release Notes: - N/A --------- Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>
C
CharlesChen0823 committed
3613ebd93c137578d947b482fe108e81313a8b47
Parent: 461812d
Committed by GitHub <noreply@github.com>
on 9/12/2024, 8:55:59 PM