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:
@@ -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,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user