Skip to content

Commit b65f654

Browse files
ayazhafizKeen Yee Liau
authored andcommitted
fixup! deps: update vscode-languageclient to 6.0.0
1 parent 86311ca commit b65f654

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/src/session.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ export class Session {
234234
scriptInfo.editContent(start, end, change.text);
235235
} else {
236236
// New text is considered to be the full content of the document.
237-
scriptInfo.editContent(0, change.text.length, change.text);
237+
scriptInfo.editContent(0, scriptInfo.getSnapshot().getLength(), change.text);
238238
}
239239
}
240240

0 commit comments

Comments
 (0)