Use writeable bool
This commit is contained in:
1 parent
2e1226f878
commit
810b5e3ac0
1 file changed
+1
@@ -35,6 +35,7 @@ impl TextBuffer {
|
||||
let mut t = Rope::new();
|
||||
t.insert(0, "Dummy help text");
|
||||
buf.text = t;
|
||||
buf.writeable = false;
|
||||
buf
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user