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

Сохранение состояния при вызове setText #191

This commit is contained in:
salexdv 2021-06-14 20:45:54 +03:00
parent 579318b121
commit c53112e889

View File

@ -54,6 +54,8 @@ define(['bslGlobals', 'bslMetadata', 'snippets', 'bsl_language', 'vs/editor/edit
}
setText = function(txt, range, usePadding) {
editor.pushUndoStop();
editor.checkBookmarks = false;
@ -71,8 +73,6 @@ define(['bslGlobals', 'bslMetadata', 'snippets', 'bsl_language', 'vs/editor/edit
updateText = function(txt, range, usePadding) {
editor.pushUndoStop();
readOnly = readOnlyMode;
modEvent = generateModificationEvent;