editor: Remove buffer and display map fields from SelectionsCollection (#42175)
Release Notes: - N/A *or* Added/Fixed/Improved ...
This commit is contained in:
@@ -4072,7 +4072,9 @@ mod tests {
|
||||
let editor = item.downcast::<Editor>().unwrap();
|
||||
let (selections, scroll_position) = editor.update(cx, |editor, cx| {
|
||||
(
|
||||
editor.selections.display_ranges(cx),
|
||||
editor
|
||||
.selections
|
||||
.display_ranges(&editor.display_snapshot(cx)),
|
||||
editor.scroll_position(cx),
|
||||
)
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user