# Recompute layers above tab map entirely when tab size changes · gitcafe/zed

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

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

Visibility: public

Requested revision: d1f155337f4ea0af8154970a9105f2a73409cfed

Requested commit: d1f155337f4ea0af8154970a9105f2a73409cfed

Commit: d1f155337f4ea0af8154970a9105f2a73409cfed

Tree: a7b3d21f991547ae1164f307a780af56dcb19b6b

Author: Antonio Scandurra

Committer: Antonio Scandurra

## Message

```
Recompute layers above tab map entirely when tab size changes

Previously, we wouldn't generate any `TabEdit` when the tab size
changed, causing coordinate spaces in `WrapMap` and `BlockMap` to
become outdated.

This commit generates a synthetic edit that covers the entire `TabMap`
to ensure layers above are synchronized.

```

## Parents

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

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