# editor: Fix multicursor indent edge case where few lines would indent incorrectly \(\#30461\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 172a475515cb66f17ea0b3ad5a6adbe0baa4330f

Requested commit: 172a475515cb66f17ea0b3ad5a6adbe0baa4330f

Commit: 172a475515cb66f17ea0b3ad5a6adbe0baa4330f

Tree: 280a91e7fd1600619f94a23a11168de74a18229a

Author: Smit Barmase

Committer: GitHub

## Message

```
editor: Fix multicursor indent edge case where few lines would indent incorrectly (#30461)

This should have been part of [editor: Fix inconsistent relative indent
when using tab with multi
cursors](https://github.com/zed-industries/zed/pull/29519)

Before / After:


https://github.com/user-attachments/assets/b7ab0eef-2764-44dc-b51f-b96dccd5ecb3

Release Notes:

- N/A

---------

Co-authored-by: Ben Kunkle <ben.kunkle@gmail.com>
```

## Parents

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

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