mirror of
https://github.com/salexdv/bsl_console.git
synced 2024-11-24 08:33:29 +02:00
Функция для удаления строки #333
This commit is contained in:
parent
dfc719eca6
commit
aaca791521
@ -599,6 +599,15 @@ define(['bslGlobals', 'bslMetadata', 'snippets', 'bsl_language', 'vs/editor/edit
|
||||
|
||||
}
|
||||
|
||||
deleteLine = function(lineNumber) {
|
||||
|
||||
editor.executeEdits('addLine', [{
|
||||
range: new monaco.Range(lineNumber, 1, lineNumber + 1, 1),
|
||||
text: null
|
||||
}]);
|
||||
|
||||
}
|
||||
|
||||
getPositionOffset = function() {
|
||||
|
||||
let position = editor.getPosition();
|
||||
|
Loading…
Reference in New Issue
Block a user