Skip to content
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

Create reliable way of undoing/redoing changes to an entire subtree #3452

Open
edreamleo opened this issue Jul 21, 2023 · 0 comments
Open

Create reliable way of undoing/redoing changes to an entire subtree #3452

edreamleo opened this issue Jul 21, 2023 · 0 comments
Assignees
Labels
Code Re Leo's code leoJS Issues & PRs that affect leoJS Waiting
Milestone

Comments

@edreamleo
Copy link
Member

edreamleo commented Jul 21, 2023

The initial idea was to use copy-node/paste-retaining-clones to save/restore undo state.

Another idea: use p.archive to remember all state. Note: p.archive must be sure to archive all referenced VNodes. Those VNodes may not exist in the target outline.

@edreamleo edreamleo added the Code Re Leo's code label Jul 21, 2023
@edreamleo edreamleo added this to the 6.7.4 milestone Jul 21, 2023
@edreamleo edreamleo self-assigned this Jul 21, 2023
@edreamleo edreamleo modified the milestones: 6.7.4, 6.7.5 Jul 29, 2023
@edreamleo edreamleo modified the milestones: 6.7.5, 6.7.6 Sep 1, 2023
@edreamleo edreamleo added the leoJS Issues & PRs that affect leoJS label Oct 23, 2023
@edreamleo edreamleo modified the milestones: 6.7.6, 6.7.7 Nov 7, 2023
@edreamleo edreamleo modified the milestones: 6.7.7, 6.7.8 Dec 29, 2023
@edreamleo edreamleo modified the milestones: 6.7.8, 6.7.9 Jan 13, 2024
@edreamleo edreamleo modified the milestones: 6.7.9, 6.7.10 Mar 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Code Re Leo's code leoJS Issues & PRs that affect leoJS Waiting
Projects
None yet
Development

No branches or pull requests

1 participant