mirror of
https://github.com/salexdv/bsl_console.git
synced 2024-11-30 08:57:08 +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 count = 12;
|
||||||
let tid = setInterval(function() {
|
let tid = setInterval(function() {
|
||||||
let newDecor = [];
|
let newDecor = [];
|
||||||
@ -109,6 +109,7 @@ define(['bslGlobals', 'bslMetadata', 'snippets', 'bsl_language', 'vs/editor/edit
|
|||||||
}
|
}
|
||||||
}, 300);
|
}, 300);
|
||||||
editor.revealLineInCenter(line);
|
editor.revealLineInCenter(line);
|
||||||
|
editor.setPosition(new monaco.Position(line, column));
|
||||||
}
|
}
|
||||||
|
|
||||||
findText = function (string) {
|
findText = function (string) {
|
||||||
|
Loading…
Reference in New Issue
Block a user