mirror of
https://github.com/salexdv/bsl_console.git
synced 2024-11-28 08:48:48 +02:00
Позиционирование на строке с ошибкой
This commit is contained in:
parent
054d5cc0c2
commit
dfe421a529
@ -92,7 +92,7 @@ define(['bslGlobals', 'bslMetadata', 'snippets', 'bsl_language', 'vs/editor/edit
|
||||
|
||||
}
|
||||
|
||||
markError = function (line) {
|
||||
markError = function (line, column) {
|
||||
let count = 12;
|
||||
let tid = setInterval(function() {
|
||||
let newDecor = [];
|
||||
@ -109,6 +109,7 @@ define(['bslGlobals', 'bslMetadata', 'snippets', 'bsl_language', 'vs/editor/edit
|
||||
}
|
||||
}, 300);
|
||||
editor.revealLineInCenter(line);
|
||||
editor.setPosition(new monaco.Position(line, column));
|
||||
}
|
||||
|
||||
findText = function (string) {
|
||||
|
Loading…
Reference in New Issue
Block a user