# Select applicable positions for lsp_ext methods more leniently \(\#32272\) · gitcafe/zed

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

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

Visibility: public

Requested revision: fa02bd71c387fcb532229e58f72a466f7d54f0a3

Requested commit: fa02bd71c387fcb532229e58f72a466f7d54f0a3

Commit: fa02bd71c387fcb532229e58f72a466f7d54f0a3

Tree: 9ad7f4e85954954716fb69137b731632d66423c5

Author: Kirill Bulatov

Committer: GitHub

## Message

```
Select applicable positions for lsp_ext methods more leniently (#32272)

Closes https://github.com/zed-industries/zed/issues/27238

Release Notes:

- Fixed `editor::SwitchSourceHeader` and
`editor::ExpandMacroRecursively` not working with text selections
```

## Parents

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

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