# gpui: Add debug assertion to Window::on_action and make docs consistent \(\#41202\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 273321608f68ca0814182ee29dbee9d99a64be52

Requested commit: 273321608f68ca0814182ee29dbee9d99a64be52

Commit: 273321608f68ca0814182ee29dbee9d99a64be52

Tree: ee5239a61a11ed9ac3c1f711e42507ac0b30c625

Author: Lexi Mattick

Committer: GitHub

## Message

```
gpui: Add debug assertion to Window::on_action and make docs consistent (#41202)

Improves formatting consistency across various docs, fixes some typos,
and adds a missing `debug_assert_paint` to `Window::on_action` and
`Window::on_action_when`.

Release Notes:

- N/A
```

## Parents

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

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