# editor: Fix \`DisplayMap::highlight_text\` not always sorting its ranges \(\#58260\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 06065c07291526b9974e9587b20545ae5faa84a2

Requested commit: 06065c07291526b9974e9587b20545ae5faa84a2

Commit: 06065c07291526b9974e9587b20545ae5faa84a2

Tree: ead8ac6d01ff197ea7f2f1531720bb17e89c312b

Author: Lukas Wirth

Committer: GitHub

## Message

```
editor: Fix `DisplayMap::highlight_text` not always sorting its ranges (#58260)

Release Notes:

- N/A or Added/Fixed/Improved ...
```

## Parents

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

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