# Fix auto-indent when pasting multi-line content that was copied start… \(\#26246\) · gitcafe/zed

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

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

Visibility: public

Requested revision: be75f174295768a12c8d06a533e995b9813ad9ae

Requested commit: be75f174295768a12c8d06a533e995b9813ad9ae

Commit: be75f174295768a12c8d06a533e995b9813ad9ae

Tree: 60c4c5b43a79c8582baec20f35615fa0dd22af76

Author: Max Brunsfeld

Committer: GitHub

## Message

```
Fix auto-indent when pasting multi-line content that was copied start… (#26246)

Closes https://github.com/zed-industries/zed/issues/24914 (again)

Release Notes:

- Fixed an issue where multi-line pasted content was auto-indented
incorrectly if copied from the middle of an existing line.
```

## Parents

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

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