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

Model version switching #58

Open
l-liava-l opened this issue Jun 21, 2015 · 1 comment
Open

Model version switching #58

l-liava-l opened this issue Jun 21, 2015 · 1 comment

Comments

@l-liava-l
Copy link

Hi everyone!
I use swarm.js like caching mechanism in my TeX editor.
So, i would like to use the shifting of history (ctrl-z, ctrl-shift), but i don't understand how to switch a model versions in swarm.js :(

@gritzko
Copy link
Owner

gritzko commented Oct 16, 2015

Sorry, I misunderstood your question initially.
You want to roll back some changes (Ctrl+Z) or apply them back.
That involved model changes and is different from recovering historical versions.

I must admit that Swarm has no machinery for that now.
In one past deployment, we used a custom anti-operation generator that was able to return the state to a past version.
In general, that is datatype-specific.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants