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:
parent
aa887afabb
commit
ca20db131f
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user