mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-27 12:54:42 +00:00
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:
parent
b890fa71ff
commit
a787be6c9f
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@ world extension {
|
||||||
code: string,
|
code: string,
|
||||||
/// The spans to display in the label.
|
/// The spans to display in the label.
|
||||||
spans: list<code-label-span>,
|
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,
|
filter-range: range,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue