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:
1 parent
8815573101
commit
e8d453721c
13 files changed
+143
-630
No files matched your search
@@ -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