This message always gets to me: "Cannot edit in read only editor". The word editor should mean something that alters text.
The message would make more sense if the editor prevents edits to unauthorized users. But if the editor never allows edits, it shouldn't be called an editor anymore.
What do you think?
Top comments (2)
So, there are many situations where read-only editors are implemented. From file comparison on VsCode to the repl.it's editor.
I think editors are made read-only when editor properties like syntax highlighting are desired but the file should not be editable.