# Use the new batched edit API when pasting · gitcafe/zed

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

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

Visibility: public

Requested revision: 2977b33dd9a0de4d69c03fd8d1360e2672f7508d

Requested commit: 2977b33dd9a0de4d69c03fd8d1360e2672f7508d

Commit: 2977b33dd9a0de4d69c03fd8d1360e2672f7508d

Tree: 08d334e1abc9576a37f6bd34aaa46103c22d37df

Author: Antonio Scandurra

Committer: Antonio Scandurra

## Message

```
Use the new batched edit API when pasting

This fixes a bug that would cause zed to paste text at the wrong
location when inside a multi-buffer where the same buffer was excerpted
more than once.

```

## Parents

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

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