correctly find last full text change in applyTextEdits (#772)

This commit is contained in:
Techatrix 2022-11-21 19:21:24 +01:00 committed by GitHub
parent 5f3d58edeb
commit ea2caee3ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -366,6 +366,7 @@ pub fn applyTextEdits(
i -= 1; i -= 1;
if (content_changes[i].range == null) { if (content_changes[i].range == null) {
last_full_text_change = i; last_full_text_change = i;
continue;
} }
} }