vim2 compiling (but mostly commented out)

This commit is contained in:
Conrad Irwin
2023-12-08 18:47:14 +00:00
parent 7a9f764aa0
commit 32837d67be
146 changed files with 22013 additions and 10 deletions
+4 -4
View File
@@ -1899,9 +1899,9 @@ impl Editor {
self.buffer.read(cx).replica_id()
}
// pub fn leader_peer_id(&self) -> Option<PeerId> {
// self.leader_peer_id
// }
pub fn leader_peer_id(&self) -> Option<PeerId> {
self.leader_peer_id
}
pub fn buffer(&self) -> &Model<MultiBuffer> {
&self.buffer
@@ -9072,7 +9072,7 @@ impl Editor {
}
}
fn handle_blur(&mut self, cx: &mut ViewContext<Self>) {
pub fn handle_blur(&mut self, cx: &mut ViewContext<Self>) {
// todo!()
// let blurred_event = EditorBlurred(cx.handle());
// cx.emit_global(blurred_event);