# editor: Add generic navigation overlays \(\#52630\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 0800c007c434c9d1c084c3cf97bb3532871b33c0

Requested commit: 0800c007c434c9d1c084c3cf97bb3532871b33c0

Commit: 0800c007c434c9d1c084c3cf97bb3532871b33c0

Tree: 3503353695ce798f8f31a49eaadf0eaff7972e70

Author: Mikhail Pertsev

Committer: GitHub

## Message

```
editor: Add generic navigation overlays (#52630)

Closes #52629

## Overview

Adds a generic editor-owned navigation overlay primitive for rendering
target ranges, anchored labels, and fade ranges. This gives [Helix amp
jump](https://github.com/zed-industries/zed/pull/43733), [Beam
Jump](https://github.com/zed-industries/zed/pull/45387), and future
jump-style features (like [this
one](https://github.com/zed-industries/zed/issues/14801)) a shared
editor abstraction for overlay layout and paint instead of
feature-specific render paths.


###  Self-Review Checklist:

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


Release Notes:

- N/A
```

## Parents

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

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