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:
parent
03dce0c7d2
commit
801b96d367
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user