mirror of
https://github.com/salexdv/bsl_console.git
synced 2024-11-24 08:33:29 +02:00
readOnly может не только устанавливаться, но и сниматься.
changelog
This commit is contained in:
parent
6619e13463
commit
274a37d97b
@ -72,9 +72,9 @@ define(['bslGlobals', 'bslMetadata', 'snippets', 'bsl_language', 'vs/editor/edit
|
||||
|
||||
}
|
||||
|
||||
setReadOnly = function () {
|
||||
setReadOnly = function (readOnly) {
|
||||
|
||||
editor.updateOptions({ readOnly: true })
|
||||
editor.updateOptions({ readOnly: readOnly })
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user