ScriptEditor.isReadOnly Property

Gets or sets a value indicating whether the editor is in read-only mode.
 

Property Value

Type: Boolean
true if the editor is in read-only mode; otherwise false.