# Clip ranges returned by \`SemanticIndex::search\` · gitcafe/zed

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

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

Visibility: public

Requested revision: c802680084d8cadf7aa2a8ac096e5dbd452abd31

Requested commit: c802680084d8cadf7aa2a8ac096e5dbd452abd31

Commit: c802680084d8cadf7aa2a8ac096e5dbd452abd31

Tree: fa019abe10c4c426d3bb90dd6ea5452c3826404b

Author: Antonio Scandurra

Committer: Antonio Scandurra

## Message

```
Clip ranges returned by `SemanticIndex::search`

The files may have changed since the last time they were parsed, so the
ranges returned by `SemanticIndex::search` may be out of bounds.

```

## Parents

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

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