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 19:02:07 +03:00
parent ff4ccdccaa
commit 0235a7ec64

View File

@ -536,7 +536,13 @@ define(['bslGlobals', 'bslMetadata', 'snippets', 'bsl_language', 'vs/editor/edit
hideLineNumbers = function() {
editor.updateOptions({ lineNumbers: false, lineDecorationsWidth: 0 })
editor.updateOptions({ lineNumbers: false, lineDecorationsWidth: 0 });
}
showLineNumbers = function() {
editor.updateOptions({ lineNumbers: true, lineDecorationsWidth: 10 });
}