# Revert "gpui: Assert validity of text runs for \`StyleText\`" \(\#39708\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 7db7ad93a21d2e30cf1617284d2f2c78164dda0c

Requested commit: 7db7ad93a21d2e30cf1617284d2f2c78164dda0c

Commit: 7db7ad93a21d2e30cf1617284d2f2c78164dda0c

Tree: 43a873f70c1b982d609bcdf18b1346e1dc4c297a

Author: Lukas Wirth

Committer: GitHub

## Message

```
Revert "gpui: Assert validity of text runs for `StyleText`" (#39708)

Reverts zed-industries/zed#39581

This has done its job uncovering incorrect constructions of the
highlight ranges pretty fast. Reverting this to prevent this from
spilling into preview until I can fix the call sites next week
```

## Parents

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

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