Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
editor: Fix invalid read-only with split pane (#28012)
0x2CA79c9f2bbd99d
diff --git a/crates/editor/src/editor.rs b/crates/editor/src/editor.rsindex 4e5750ab64c..cee1741ad9c 100644--- a/crates/editor/src/editor.rs+++ b/crates/editor/src/editor.rs@@ -1262,6 +1262,7 @@ impl Editor {clone.selections.clone_state(&self.selections);clone.scroll_manager.clone_state(&self.scroll_manager);clone.searchable = self.searchable;+ clone.read_only = self.read_only;clone}