# Separate WrappedLines from ShapedLines · gitcafe/zed

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

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

Visibility: public

Requested revision: 9558da868193670a58b593b2908dda264a035bfd

Requested commit: 9558da868193670a58b593b2908dda264a035bfd

Commit: 9558da868193670a58b593b2908dda264a035bfd

Tree: 336068d7342269c4b4dc673a8524b44d7cc795ef

Author: Nathan Sobo

Committer: Nathan Sobo

## Message

```
Separate WrappedLines from ShapedLines

ShapedLines are never wrapped, whereas WrappedLines are optionally wrapped if
they are associated with a wrap width. I tried to combine everything because
wrapping is inherently optional for the Text element, but we have a bunch of
APIs that don't make sense on a line that may wrap, so we need a distinct type
for that case.

```

## Parents

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

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