# Introduce DisplayRow, MultiBufferRow newtypes and BufferRow type alias \(\#11656\) · gitcafe/zed

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

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

Visibility: public

Requested revision: df41435d1a85c7263799367817ba5629149e9f60

Requested commit: df41435d1a85c7263799367817ba5629149e9f60

Commit: df41435d1a85c7263799367817ba5629149e9f60

Tree: a6d4c873cb82c6dd38a4040f4fa0b8320d4aa2d9

Author: Kirill Bulatov

Committer: GitHub

## Message

```
Introduce DisplayRow, MultiBufferRow newtypes and BufferRow type alias (#11656)

Part of https://github.com/zed-industries/zed/issues/8081

To avoid confusion and bugs when converting between various row `u32`'s,
use different types for each.
Further PRs should split `Point` into buffer and multi buffer variants
and make the code more readable.

Release Notes:

- N/A

---------

Co-authored-by: Piotr <piotr@zed.dev>
```

## Parents

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

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