Skip to content

manual folding ranges: memento does not store all sources #156273

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 2 commits into from
Jul 27, 2022

Conversation

aeschli
Copy link
Contributor

@aeschli aeschli commented Jul 26, 2022

As found in #155302 (comment), the memento that is used to restore folding ranges between editor close/open does not store all source (userDefined. recovered, provider)

The PR replaces the various sources with one enum.

@aeschli aeschli self-assigned this Jul 26, 2022
@aeschli aeschli added this to the July 2022 milestone Jul 26, 2022
@aeschli aeschli added the editor-folding Editor code folding issues label Jul 26, 2022
@aeschli aeschli mentioned this pull request Jul 26, 2022
@aeschli aeschli changed the title use source: fix memento does not store all sources manual folding ranges memento does not store all sources Jul 26, 2022
@aeschli aeschli changed the title manual folding ranges memento does not store all sources manual folding ranges: memento does not store all sources Jul 26, 2022
alexr00
alexr00 previously approved these changes Jul 26, 2022
@aeschli aeschli enabled auto-merge (squash) July 27, 2022 19:46
@aeschli aeschli merged commit 89c30e1 into main Jul 27, 2022
@aeschli aeschli deleted the aeschli/fixfoldingmemento branch July 27, 2022 21:02
@github-actions github-actions bot locked and limited conversation to collaborators Sep 10, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
editor-folding Editor code folding issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants