# edit predictions: Split \`layout_edit_prediction\` popover \(\#25463\) · gitcafe/zed

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

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

Visibility: public

Requested revision: ceb7fc2cb2bb37a3628a5a3c7a6b98dbfe7b8c6a

Requested commit: ceb7fc2cb2bb37a3628a5a3c7a6b98dbfe7b8c6a

Commit: ceb7fc2cb2bb37a3628a5a3c7a6b98dbfe7b8c6a

Tree: ce6f7e58557d1bf2a6221c3a6958e9da83792031

Author: Agus Zubiaga

Committer: GitHub

## Message

```
edit predictions: Split `layout_edit_prediction` popover (#25463)

This function has grown a lot and it was getting really hard to
navigate. This PR splits it into smaller methods and moves it into
`Editor` with the rest of the edit prediction popovers' code.

I think there are opportunities to consolidate the many popovers we
have, but we'll do that separately.

Release Notes:

- N/A
```

## Parents

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

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