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

Метод для скрытия номеров строк

This commit is contained in:
salexdv 2021-02-18 18:58:50 +03:00
parent a0b0743fb8
commit ff4ccdccaa

View File

@ -534,6 +534,12 @@ define(['bslGlobals', 'bslMetadata', 'snippets', 'bsl_language', 'vs/editor/edit
}
hideLineNumbers = function() {
editor.updateOptions({ lineNumbers: false, lineDecorationsWidth: 0 })
}
editor = undefined;
// Register languages