Use writeable bool

This commit is contained in:
Greg Shuflin committed 2024-03-19 02:15:32 -07:00
1 parent 2e1226f878
commit 810b5e3ac0
1 file changed
+1
+1
View File
@@ -35,6 +35,7 @@ impl TextBuffer {
let mut t = Rope::new();
t.insert(0, "Dummy help text");
buf.text = t;
buf.writeable = false;
buf
}