Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

@andfoy
Copy link
Contributor

@andfoy andfoy commented Sep 24, 2020

Fixes #793
Closes #798

@ccordoba12 ccordoba12 added this to the 0.36.0 milestone Sep 25, 2020
Copy link
Contributor

@ccordoba12 ccordoba12 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @andfoy for this! Could you mention the motivation for these changes in the PR description?

Also, is it possible to add a test for this?

pyls/workspace.py Show resolved Hide resolved
pyls/workspace.py Show resolved Hide resolved
Copy link
Contributor

@ccordoba12 ccordoba12 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@andfoy, is it possible to add a test for this?

pyls/workspace.py Show resolved Hide resolved
@andfoy
Copy link
Contributor Author

andfoy commented Sep 26, 2020

It is not possible to guarantee a certain scenario for concurrent accesses, since it is not possible to ensure that a specific thread arrives before other

Copy link
Contributor

@ccordoba12 ccordoba12 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @andfoy, looks good to me.

@ccordoba12 ccordoba12 changed the title PR: Synchronize document text updates Synchronize document text updates Oct 3, 2020
@ccordoba12 ccordoba12 merged commit 1a431d9 into palantir:develop Oct 3, 2020
@andfoy andfoy deleted the lock_update_text branch October 5, 2020 15:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Application of incremental text changes is not atomic?

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.