1
0
mirror of https://github.com/salexdv/bsl_console.git synced 2024-12-02 09:02:27 +02:00

Обновление закладок при добавлении/удалении строк fix #83

This commit is contained in:
salexdv 2021-05-14 09:19:48 +03:00
parent aa887afabb
commit ca20db131f

View File

@ -1355,6 +1355,7 @@ define(['bslGlobals', 'bslMetadata', 'snippets', 'bsl_language', 'vs/editor/edit
prev_bookmark.range.endLineNumber = line;
bookmarks.set(line, prev_bookmark);
bookmarks.delete(line - 1);
line++;
}
@ -1362,7 +1363,7 @@ define(['bslGlobals', 'bslMetadata', 'snippets', 'bsl_language', 'vs/editor/edit
let line_check = getLineCount();
while (line < line_check) {
while (line <= line_check) {
let bookmark = bookmarks.get(line_check);