# Fix panic in enclosing bracket ranges \(\#8870\) · gitcafe/zed

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

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

Visibility: public

Requested revision: e0c66b30c85c7f846ee208391340ff5f4a3ac01a

Requested commit: e0c66b30c85c7f846ee208391340ff5f4a3ac01a

Commit: e0c66b30c85c7f846ee208391340ff5f4a3ac01a

Tree: 419da89ac688128cf1c9559a2903a6ad06111655

Author: Conrad Irwin

Committer: GitHub

## Message

```
Fix panic in enclosing bracket ranges (#8870)

This function was operating in the wrong co-ordinate space (c.f. #8081)

Release Notes:

- Fixed a panic on `ctrl-m` in a multibuffer
```

## Parents

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

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