mirror of
https://github.com/salexdv/bsl_console.git
synced 2024-11-28 08:48:48 +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) {
|
setOption = function (optionName, optionValue) {
|
||||||
|
|
||||||
|
setTimeout(() => {
|
||||||
|
|
||||||
editor[optionName] = optionValue;
|
editor[optionName] = optionValue;
|
||||||
editor_options[optionName] = optionValue;
|
editor_options[optionName] = optionValue;
|
||||||
|
|
||||||
@ -1120,6 +1122,8 @@ define(['bslGlobals', 'bslMetadata', 'snippets', 'bsl_language', 'vs/editor/edit
|
|||||||
if (optionName == 'generateSuggestActivationEvent')
|
if (optionName == 'generateSuggestActivationEvent')
|
||||||
startStopSuggestActivationObserver();
|
startStopSuggestActivationObserver();
|
||||||
|
|
||||||
|
}, 10);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
getOption = function (optionName) {
|
getOption = function (optionName) {
|
||||||
|
Loading…
Reference in New Issue
Block a user