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:
parent
579318b121
commit
c53112e889
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user