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
|
@ -43,7 +43,7 @@ impl GoToLine {
|
|||
let buffer = editor.buffer().read(cx).read(cx);
|
||||
(
|
||||
Some(scroll_position),
|
||||
editor.selections.newest(&buffer).head(),
|
||||
editor.selections.newest(cx).head(),
|
||||
buffer.max_point(),
|
||||
)
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue