CodeMirror 2 - (readonly and editable code)
- by Happy Hacking
Can CodeMirror 2 be used to set part of the code to be uneditable?
I do not wish to do it like fully editable code.
Example:
Code inline:
example
public static void main(String args[]){
//content
}
I hope to be able to make Line 1 and 3 uneditable BUT able to edit lines in between them adding characters/spaces increasing the number of lines inside the method as we speak AND still unable to edit the starting and closing bracket lines.