zed/crates/language2/src
Julia 9a2fd18425 Avoid panic with outline highlight ranges
Previously we were using a function in `editor` to combine syntax
highlighting and fuzzy match positions, it would operate on the full
text as put into the label. However we now have a method `ranges` on
`StringMatch` itself which operates on just the match text.

The outline view has some pretty specific behavior around path/normal
matches and how they are highlighted. So let's just give the match the
full text before it leaves the search function so it can freely index
2023-12-04 15:37:34 -05:00
..
syntax_map Upgrade Tree-sitter for stack-overflow bugfix 2023-11-27 13:16:50 -08:00
buffer.rs Merge branch 'main' into editor2-autocomplete 2023-11-17 11:03:25 +01:00
buffer_tests.rs Duplicate buffer test changes in language2 version 2023-11-09 11:09:49 -08:00
diagnostic_set.rs
highlight_map.rs Upgrade Tree-sitter for stack-overflow bugfix 2023-11-27 13:16:50 -08:00
language2.rs Port to gpui2 2023-11-30 13:07:47 +02:00
language_settings.rs
markdown.rs
outline.rs Avoid panic with outline highlight ranges 2023-12-04 15:37:34 -05:00
proto.rs Add back Completion::documentation 2023-11-16 14:47:45 +01:00
syntax_map.rs Uncomment persistence tests 2023-11-03 12:38:09 +02:00