store buffer and display_map model handles on selections collection
This commit is contained in:
parent
db0a9114c2
commit
de9dc27980
14 changed files with 373 additions and 393 deletions
|
@ -1180,7 +1180,7 @@ mod tests {
|
|||
let editor = item.downcast::<Editor>().unwrap();
|
||||
let (selections, scroll_position) = editor.update(cx, |editor, cx| {
|
||||
(
|
||||
editor.selected_display_ranges(cx),
|
||||
editor.selections.selected_display_ranges(cx),
|
||||
editor.scroll_position(cx),
|
||||
)
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue