# markdown: Support shift\+click to extend text selection \(\#57586\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 8309bc4098b96dacae36622b1c3d65694c4bbd70

Requested commit: 8309bc4098b96dacae36622b1c3d65694c4bbd70

Commit: 8309bc4098b96dacae36622b1c3d65694c4bbd70

Tree: adc8001147bb841da770b9a212470e3854f4fc35

Author: Xiaobo Liu

Committer: GitHub

## Message

```
markdown: Support shift+click to extend text selection (#57586)

When shift is held during a single click, extend the existing selection
from its anchor point to the clicked position instead of starting a new
selection.

Self-Review Checklist:

- [x] I've reviewed my own diff for quality, security, and reliability
- [x] Unsafe blocks (if any) have justifying comments
- [x] The content is consistent with the [UI/UX
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)
- [x] Tests cover the new/changed behavior
- [x] Performance impact has been considered and is acceptable

Release Notes:

- Added markdown support shift+click to extend text selection
```

## Parents

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

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