# editor: Represent scroll offset with more precision \(\#39367\) · gitcafe/zed

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

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

Visibility: public

Requested revision: d359a814f817b37623d181c1767afff8fe93accd

Requested commit: d359a814f817b37623d181c1767afff8fe93accd

Commit: d359a814f817b37623d181c1767afff8fe93accd

Tree: 96c719eaec2e49a0f0db3fa013259d7b275846cd

Author: Piotr Osiewicz

Committer: GitHub

## Message

```
editor: Represent scroll offset with more precision (#39367)

Closes #5355

Release Notes:

- Fixed rendering glitches with files with more than 16 million lines
(that occured due to floating number rounding errors).

---------

Co-authored-by: Smit Barmase <heysmitbarmase@gmail.com>
```

## Parents

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

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