mirror of
https://github.com/salexdv/bsl_console.git
synced 2025-02-15 13:53:04 +02:00
Функция для установки readOnly
This commit is contained in:
parent
12f99e93b2
commit
fa165ee55f
@ -64,6 +64,12 @@ define(['bslGlobals', 'bslMetadata', 'snippets', 'bsl_language', 'vs/editor/edit
|
||||
|
||||
}
|
||||
|
||||
setReadOnly = function () {
|
||||
|
||||
editor.updateOptions({ readOnly: true })
|
||||
|
||||
}
|
||||
|
||||
// Register a new language
|
||||
monaco.languages.register({ id: language.id });
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user