-
-
Couldn't load subscription status.
- Fork 3.1k
Closed
Labels
A-helix-termArea: Helix term improvementsArea: Helix term improvementsC-bugCategory: This is a bugCategory: This is a bug
Description
Summary
Hello! I'm newbie to helix.
I'm working on my toy project with helix to practice it, but it is sometimes and suddenly crashed in a certain situation.
And I figured out how to reproduce it.
Reproduction Steps
- Delete line. (x + d)
- Go to last line (g + e)
- Undo (u)
- Try 1~3 again.
I minimized it more like this.
hx- type d + ge + u
- type d + ge + u, again
- CRASH!
the error message is below:
thread 'main' panicked at 'Position 2 is out of range for changeset len 0!', helix-core\src\transaction.rs:397:13
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Actually, the minimized steps don't need to go last line.
Typing dudu just makes the helix crash.
Helix log
I tried to log after clearing it. but no words are written.
Platform
Windows
Terminal Emulator
Windows Terminal
Helix Version
helix 22.08.1 (590a628)
Metadata
Metadata
Assignees
Labels
A-helix-termArea: Helix term improvementsArea: Helix term improvementsC-bugCategory: This is a bugCategory: This is a bug