mirror of
https://github.com/zed-industries/zed.git
synced 2026-11-23 09:01:16 +01:00
This reverts commit 1d66bbe06f.
Needs 2 more fixes:
* enter does not move to the first excerpt anymore
* there could be situations when a narrowed search does not decrease the
excerpt enough to see the result onscreen
Release Notes:
- N/A
This commit is contained in:
@@ -1734,7 +1734,7 @@ impl MultiBuffer {
|
||||
}
|
||||
|
||||
#[instrument(skip_all)]
|
||||
pub fn merge_excerpt_ranges<'a>(
|
||||
fn merge_excerpt_ranges<'a>(
|
||||
expanded_ranges: impl IntoIterator<Item = &'a ExcerptRange<Point>> + 'a,
|
||||
) -> (Vec<ExcerptRange<Point>>, Vec<usize>) {
|
||||
let mut merged_ranges: Vec<ExcerptRange<Point>> = Vec::new();
|
||||
|
||||
Reference in New Issue
Block a user