1
0
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:
salexdv 2020-07-24 23:23:29 +03:00
parent 6619e13463
commit 274a37d97b

View File

@ -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 })
}