# Fix \`editor::SplitSelectionIntoLines\` adding an extra line at the end \(\#25053\) · gitcafe/zed

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

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

Visibility: public

Requested revision: a8de6af641a9d15bfc9a2e80e8845bbc10a3d9ce

Requested commit: a8de6af641a9d15bfc9a2e80e8845bbc10a3d9ce

Commit: a8de6af641a9d15bfc9a2e80e8845bbc10a3d9ce

Tree: 44bd5dd6d18f3ff677d8f2ed215860f3bf6bc615

Author: João Marcos

Committer: GitHub

## Message

```
Fix `editor::SplitSelectionIntoLines` adding an extra line at the end (#25053)

Closes #4795

Release Notes:

- Fixed `editor::SplitSelectionIntoLines` adding an extra line at end
of selection
```

## Parents

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

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