fix 9766 (#10055)

Release Notes:

- Fixed a panic in editor::SelectPrevious (`gN` in vim)
([#9766](https://github.com/zed-industries/zed/issues/9766)).
499887d931Conrad Irwin committed on 4/1/2024, 10:30:14 PM· committed by GitHubparentfbf3e1d
3 files changedLine totals unavailable