# Fix cursor position when inserting newlines on a repeated excerpt · gitcafe/zed

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

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

Visibility: public

Requested revision: c16820166bb6cfec0c4990b8bd0cf3bd19212141

Requested commit: c16820166bb6cfec0c4990b8bd0cf3bd19212141

Commit: c16820166bb6cfec0c4990b8bd0cf3bd19212141

Tree: 0aa8f1fcfc17892ccf862541f30cdc35c0939a5b

Author: Antonio Scandurra

Committer: Antonio Scandurra

## Message

```
Fix cursor position when inserting newlines on a repeated excerpt

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

```

## Parents

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

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