Address review feedback.
Rename selected_rows to background_highlight_row_ranges. Do not return any ranges if there are more than 50k results
This commit is contained in:
parent
b0fc6da55b
commit
371c669e00
2 changed files with 5 additions and 3 deletions
|
@ -1133,7 +1133,7 @@ impl EditorElement {
|
|||
})
|
||||
};
|
||||
let background_ranges = editor
|
||||
.selected_rows::<crate::items::BufferSearchHighlights>(
|
||||
.background_highlight_row_ranges::<crate::items::BufferSearchHighlights>(
|
||||
start_anchor..end_anchor,
|
||||
&layout.position_map.snapshot,
|
||||
50000,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue