1
0
mirror of https://github.com/salexdv/bsl_console.git synced 2024-11-24 08:33:29 +02:00

Небольшая задержка при установке опциональных настроек closes #182

This commit is contained in:
salexdv 2022-08-08 08:52:55 +03:00
parent 03dce0c7d2
commit 801b96d367

View File

@ -1105,6 +1105,8 @@ define(['bslGlobals', 'bslMetadata', 'snippets', 'bsl_language', 'vs/editor/edit
setOption = function (optionName, optionValue) {
setTimeout(() => {
editor[optionName] = optionValue;
editor_options[optionName] = optionValue;
@ -1120,6 +1122,8 @@ define(['bslGlobals', 'bslMetadata', 'snippets', 'bsl_language', 'vs/editor/edit
if (optionName == 'generateSuggestActivationEvent')
startStopSuggestActivationObserver();
}, 10);
}
getOption = function (optionName) {