# editor: Fix behavior of clickable line numbers navigation in multibuffer \(\#39447\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 83f0a367330c6236d7c06caffb67134d6e0f963d

Requested commit: 83f0a367330c6236d7c06caffb67134d6e0f963d

Commit: 83f0a367330c6236d7c06caffb67134d6e0f963d

Tree: 997fbe4a43d016ee4386a3d5c48852ab09c9a115

Author: Tim Vermeulen

Committer: GitHub

## Message

```
editor: Fix behavior of clickable line numbers navigation in multibuffer (#39447)

Repro:
- Open a multibuffer
- Click on a line number to jump to the corresponding file
- Click the back button
- Click the forward button, nothing happens
- Click the forward button again, now it works

Double clicking the code to jump to the file (with
`"double_click_in_multibuffer": "open"`) doesn't exhibit this bug, so I
just changed the logic when clicking on a line number in a multibuffer
to match that behavior.


https://github.com/user-attachments/assets/31c0d64d-fdb8-44d6-b0f3-a337ca53de30

Release Notes:

- Fixed bug that could cause navigation to break when clicking on a line
number in a multibuffer
```

## Parents

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

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