correctly find last full text change in applyTextEdits (#772)
This commit is contained in:
parent
5f3d58edeb
commit
ea2caee3ad
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user