# Add support for visual ranges ending with a newline · gitcafe/zed

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

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

Visibility: public

Requested revision: 5edcb747609222f602138798d1a80e50f1160dae

Requested commit: 5edcb747609222f602138798d1a80e50f1160dae

Commit: 5edcb747609222f602138798d1a80e50f1160dae

Tree: 4de79454832605bfc45a3bbc5167b6c03abf533b

Author: Conrad Irwin

Committer: Conrad Irwin

## Message

```
Add support for visual ranges ending with a newline

These primarily happen when first entering visual mode, but can also
be created with objects like `vi{`.

Along the way fix the way ranges like `vi{` are selected to be more
similar to nvim.

```

## Parents

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

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