# editor: Fix regression with folds and relative counting \(\#46658\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 8ab49c325f15943dbd7c2c3dd35ab71592014de3

Requested commit: 8ab49c325f15943dbd7c2c3dd35ab71592014de3

Commit: 8ab49c325f15943dbd7c2c3dd35ab71592014de3

Tree: 5da893347b619b070e75f20a616675b09afe991d

Author: Finn Evers

Committer: GitHub

## Message

```
editor: Fix regression with folds and relative counting (#46658)

Closes #46516

Release Notes:

- Fixed a regression with relative line numbering that would occur with
folds present (preview only)
```

## Parents

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

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