Clarify CodeLabel.filter_range doc (#11383)

Improves documentation for `CodeLabel.filter_range` in
`zed_extension_api` by clarifying that it's a range of only the text
displayed in the label, *not* the `code` field.

Release Notes:

- N/A
This commit is contained in:
Valentine Briese 2024-05-17 09:09:35 -07:00 committed by GitHub
parent b890fa71ff
commit a787be6c9f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -97,7 +97,7 @@ world extension {
code: string,
/// The spans to display in the label.
spans: list<code-label-span>,
/// The range of the code to include when filtering.
/// The range of the displayed label to include when filtering.
filter-range: range,
}