You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 24, 2018. It is now read-only.
A basic idea for implementation is to keep a list of text removals and text insertions. Each operation that changes text would produce two artifacts: what to do with the current state to reach the target state, and what to do with the target state to reach the current state.
Traversing the list shouldn't remove states, i.e. do not make this a stack. Otherwise redoing operations won't be possible.
On the other hand, appending states to the list should cut off the current branch: