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
|
@ -54,5 +54,5 @@ pub fn assert_text_with_selections(
|
|||
let (unmarked_text, text_ranges) = marked_text_ranges(marked_text);
|
||||
|
||||
assert_eq!(editor.text(cx), unmarked_text);
|
||||
assert_eq!(editor.selected_ranges(cx), text_ranges);
|
||||
assert_eq!(editor.selections.selected_ranges(cx), text_ranges);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue