# Store selections with a right start bias so that autoindent moves them · gitcafe/zed

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

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

Visibility: public

Requested revision: cbd9e186b5924dba83f1c28b01ced4ba590fadc1

Requested commit: cbd9e186b5924dba83f1c28b01ced4ba590fadc1

Commit: cbd9e186b5924dba83f1c28b01ced4ba590fadc1

Tree: 5ae72eeca8e056ad2062f6be73c9e50769c021ce

Author: Max Brunsfeld

Committer: Max Brunsfeld

## Message

```
Store selections with a right start bias so that autoindent moves them

Previously, cursors at column 0 had to be explicitly moved when those lines
were autoindented. This behavior was lost when we moved selections from
the buffer to the editor. Now, with the right bias, we get this behavior automatically.

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

```

## Parents

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

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