# edit prediction: Do not render jump cursor until line layout is ready \(\#24226\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/58db66ef446f7571c0a4eb7d7002a81a0a418a72)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 58db66ef446f7571c0a4eb7d7002a81a0a418a72

Requested commit: 58db66ef446f7571c0a4eb7d7002a81a0a418a72

Commit: 58db66ef446f7571c0a4eb7d7002a81a0a418a72

Tree: 7e1340e88baaf54355dc94b5ec90ef0bb52d7c90

Author: Agus Zubiaga

Committer: GitHub

## Message

```
edit prediction: Do not render jump cursor until line layout is ready (#24226)

This is pretty rare but I found a case where `line_layouts` didn't have
the requested line yet, so we now skip rendering the cursor for that
period and avoid panicking.

Release Notes:

- N/A
```

## Parents

- [6f0f9d631e14031a25bf3e48a6105dacda3165f5](https://git.cafe/gitcafe/zed/commit/6f0f9d631e14031a25bf3e48a6105dacda3165f5?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/58db66ef446f7571c0a4eb7d7002a81a0a418a72?format=markdown)
