Get Editor compiling with MultiBuffer as its buffer
There's a bunch of unimplemented methods in MultiBuffer, but everything compiles. Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
This commit is contained in:
parent
daedf179b2
commit
87d16c271e
18 changed files with 931 additions and 450 deletions
|
@ -376,7 +376,7 @@ fn test_autoindent_moves_selections(cx: &mut MutableAppContext) {
|
|||
.selection_set(selection_set_id)
|
||||
.unwrap()
|
||||
.selections::<Point>(&buffer)
|
||||
.map(|selection| selection.point_range(&buffer))
|
||||
.map(|selection| selection.start.to_point(&buffer)..selection.end.to_point(&buffer))
|
||||
.collect::<Vec<_>>();
|
||||
|
||||
assert_eq!(selection_ranges[0], empty(Point::new(1, 4)));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue