Skip to content

do not attempt edit operation for read-only editors #56824

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 20, 2018

Conversation

isidorn
Copy link
Contributor

@isidorn isidorn commented Aug 20, 2018

fixes #53257

As suggessted in #53257 I have moved the isReadonly() property one level up.
If a user tries an edit operation I simply throw an error.

I did not test this out, first wanted to get feedback.
Thanks

@isidorn isidorn added this to the August 2018 milestone Aug 20, 2018
@bpasero bpasero self-requested a review August 20, 2018 14:55
@bpasero bpasero assigned isidorn and unassigned bpasero Aug 20, 2018
@isidorn isidorn merged commit 56b97b1 into master Aug 20, 2018
@isidorn isidorn deleted the isidorn/readonlyEditor branch August 20, 2018 15:40
@github-actions github-actions bot locked and limited conversation to collaborators Mar 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

LiveShare: Improve support for dirty readonly files
2 participants