mirror of
https://github.com/salexdv/bsl_console.git
synced 2024-11-30 08:57:08 +02:00
Обнуление декораций при очистке оригинального текста #139
This commit is contained in:
parent
1427ad78b3
commit
d338bed105
@ -1242,6 +1242,9 @@ define(['bslGlobals', 'bslMetadata', 'snippets', 'bsl_language', 'vs/editor/edit
|
||||
|
||||
editor.originalText = originalText;
|
||||
|
||||
if (!originalText)
|
||||
decorations = editor.deltaDecorations(decorations, []);
|
||||
|
||||
}
|
||||
|
||||
editor = undefined;
|
||||
|
Loading…
Reference in New Issue
Block a user