Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork6.4k
Commit8a1b090
committed
fix(lsp): handle multiple clients with incremental sync
The change tracking used a single lines/lines_tmp table to trackchanges to a buffer.If multiple clients using incremental sync are connected to a buffer,they both made changes to the same lines table. That resulted in aninconsistent state.This commit changes the didChange handling to group clients bysynchronization scheme and offset encoding.This avoids computing the diff multiple times for clients using thesame scheme and resolves the lines/lines_tmp conflicts.Fixes#193251 parentfea15ad commit8a1b090
1 file changed
+258
-131
lines changed0 commit comments
Comments
(0)