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

Обнуление декораций при очистке оригинального текста #139

This commit is contained in:
salexdv 2021-05-24 23:08:53 +03:00
parent 1427ad78b3
commit d338bed105

View File

@ -1242,6 +1242,9 @@ define(['bslGlobals', 'bslMetadata', 'snippets', 'bsl_language', 'vs/editor/edit
editor.originalText = originalText;
if (!originalText)
decorations = editor.deltaDecorations(decorations, []);
}
editor = undefined;