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:
Nathan Sobo
2021-12-08 19:23:04 -07:00
co-authored by Max Brunsfeld
parent daedf179b2
commit 87d16c271e
18 changed files with 929 additions and 448 deletions
+2 -1
View File
@@ -1,6 +1,6 @@
mod buffer;
mod highlight_map;
mod multi_buffer;
pub mod multi_buffer;
pub mod proto;
#[cfg(test)]
mod tests;
@@ -12,6 +12,7 @@ use gpui::{executor::Background, AppContext};
use highlight_map::HighlightMap;
use lazy_static::lazy_static;
use lsp::LanguageServer;
pub use multi_buffer::MultiBuffer;
use parking_lot::Mutex;
use serde::Deserialize;
use std::{collections::HashSet, path::Path, str, sync::Arc};