# Don't mark the first row as soft-wrapped when the tree is empty · gitcafe/zed

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

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

Visibility: public

Requested revision: 849604c7e42568f1499d43e7f67bf7f623d36b5f

Requested commit: 849604c7e42568f1499d43e7f67bf7f623d36b5f

Commit: 849604c7e42568f1499d43e7f67bf7f623d36b5f

Tree: 29d403e71bf931b024f23984b6fa0fed45208a7a

Author: Antonio Scandurra

Committer: Max Brunsfeld

## Message

```
Don't mark the first row as soft-wrapped when the tree is empty

Also, add a randomized test to verify that soft-wrapped rows are
reported correctly.

```

## Parents

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

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