8ea7c9cb62
3826: Flatten nested highlight ranges during DFS traversal r=matklad a=ltentrup Implements the flattening of nested highlights from #3447. There is a caveat: I needed to add `Clone` to `HighlightedRange` to split highlight ranges ~and the nesting does not appear in the syntax highlighting test (it does appear in the accidental-quadratic test but there it is not checked against a ground-truth)~. I have added a test case for the example mentioned in #3447. Co-authored-by: Leander Tentrup <leander.tentrup@gmail.com> |
||
---|---|---|
.. | ||
completion | ||
display | ||
references | ||
snapshots | ||
syntax_highlighting | ||
typing | ||
assists.rs | ||
call_hierarchy.rs | ||
call_info.rs | ||
completion.rs | ||
diagnostics.rs | ||
display.rs | ||
expand_macro.rs | ||
extend_selection.rs | ||
folding_ranges.rs | ||
goto_definition.rs | ||
goto_type_definition.rs | ||
hover.rs | ||
impls.rs | ||
inlay_hints.rs | ||
join_lines.rs | ||
lib.rs | ||
marks.rs | ||
matching_brace.rs | ||
mock_analysis.rs | ||
parent_module.rs | ||
prime_caches.rs | ||
references.rs | ||
runnables.rs | ||
source_change.rs | ||
ssr.rs | ||
status.rs | ||
syntax_highlighting.rs | ||
syntax_tree.rs | ||
test_utils.rs | ||
typing.rs |