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
|
@ -67,7 +67,7 @@ impl GoToLine {
|
|||
let (restore_state, cursor_point, max_point) = active_editor.update(cx, |editor, cx| {
|
||||
let restore_state = Some(RestoreState {
|
||||
scroll_position: editor.scroll_position(cx),
|
||||
selections: editor.selections::<usize>(cx).collect(),
|
||||
selections: editor.selections::<usize>(cx),
|
||||
});
|
||||
|
||||
(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue