mirror of
https://github.com/salexdv/bsl_console.git
synced 2024-11-24 08:33:29 +02:00
Метод для показа номеров строк
This commit is contained in:
parent
ff4ccdccaa
commit
0235a7ec64
@ -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 });
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user