# Account for the impact of edits on tab expansion · gitcafe/zed

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

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

Visibility: public

Requested revision: 0875a86c695d34522971ef9d58abd40c455adc41

Requested commit: 0875a86c695d34522971ef9d58abd40c455adc41

Commit: 0875a86c695d34522971ef9d58abd40c455adc41

Tree: c41f13861af4d9c2f161064950dd52a94665ced0

Author: Antonio Scandurra

Committer: Antonio Scandurra

## Message

```
Account for the impact of edits on tab expansion

Tab characters are expanded differently based on the column on which
they appear, which edits can affect. Thus, `TabMap::sync` will now
expand edits to the first tab that appears on the line in which the edit
occurred.

Co-Authored-By: Nathan Sobo <nathan@zed.dev>

```

## Parents

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

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