# clip FoldPoint earlier · gitcafe/zed

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

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

Visibility: public

Requested revision: c4797f87b4ad2e3d27725bd625e2b1d9d5747158

Requested commit: c4797f87b4ad2e3d27725bd625e2b1d9d5747158

Commit: c4797f87b4ad2e3d27725bd625e2b1d9d5747158

Tree: aecc0411f02ca809c4b26b56faec0c03c94f3051

Author: Conrad Irwin

Committer: Conrad Irwin

## Message

```
clip FoldPoint earlier

fold_point_to_display_point calls to_offset on the fold point, which
panics if it hasn't been clipped.

https://zed-industries.slack.com/archives/C04S6T1T7TQ/p1694850156370919

```

## Parents

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

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