Rename selected_ranges and selected_display_ranges to remove redundant selected
This commit is contained in:
parent
de9dc27980
commit
c3a36e6d8a
8 changed files with 197 additions and 226 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.selections.selected_ranges(cx), text_ranges);
|
||||
assert_eq!(editor.selections.ranges(cx), text_ranges);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue