mirror of
https://github.com/zed-industries/zed.git
synced 2026-11-20 15:40:29 +01:00
2e0d051a78
This fixes a bug that could cause the cursor to incorrectly report its start when using `slice` or `seek_forward`, and then calling `prev`. We didn't notice this because we were not testing those three methods together. I suppose this could explain some of the panics we've observed because we do use `slice`/`seek_forward` followed by `prev` calls in production.