# Fix an ordering problem that led to invalid edits in display map sync \(\#52930\) · gitcafe/zed

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

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

Visibility: public

Requested revision: d6fe14b3ccf4e08b176ee20e58b074d8e968c8f6

Requested commit: d6fe14b3ccf4e08b176ee20e58b074d8e968c8f6

Commit: d6fe14b3ccf4e08b176ee20e58b074d8e968c8f6

Tree: 9a7b34b6f5ce29548577552e1e2a3564031cce7a

Author: Conrad Irwin

Committer: GitHub

## Message

```
Fix an ordering problem that led to invalid edits in display map sync (#52930)

Co-authored-by: Cole Miller <cole@zed.dev>

Self-Review Checklist:

- [ ] I've reviewed my own diff for quality, security, and reliability
- [ ] Unsafe blocks (if any) have justifying comments
- [ ] The content is consistent with the [UI/UX
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)
- [ ] Tests cover the new/changed behavior
- [ ] Performance impact has been considered and is acceptable

Fixes ZED-67X
Fixes ZED-50E

Release Notes:

- N/A

Co-authored-by: Cole Miller <cole@zed.dev>
```

## Parents

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

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