# agent: Cleanup \`message_editor\` \(\#28614\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 429d4580cf2fa85fd05540d26b59d2fcb96929f8

Requested commit: 429d4580cf2fa85fd05540d26b59d2fcb96929f8

Commit: 429d4580cf2fa85fd05540d26b59d2fcb96929f8

Tree: 792ce8b0b7b80ea4e3ff87311c2cb3d6ff10b117

Author: Bennet Bo Fenner

Committer: GitHub

## Message

```
agent: Cleanup `message_editor` (#28614)

This PR splits up the rendering of the message editor into multiple
functions. Previously we had a single `h_flex()...` expression which
spanned across 550 lines, `cargo fmt` stopped working.

Release Notes:

- N/A
```

## Parents

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

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