ace-collab-ext icon indicating copy to clipboard operation
ace-collab-ext copied to clipboard

undo behaviour

Open adamjimenez opened this issue 3 years ago • 3 comments

I've been playing with the Ace demo. I notice when collaborating if you press undo it undoes the other user's changes, which would be confusing when collaborating.

I also observed the following. user 1: enter 'a', press undo. 'a' disappears as you would expect. user 2: press undo. 'a' reappears.

adamjimenez avatar May 20 '21 08:05 adamjimenez

Yes, this is called "local undo" and can be a very difficult problem to solve in a distributed-state environment. It is on our roadmap.

alalonde avatar May 20 '21 22:05 alalonde

I was originally working with Firepad which is no longer supported so I've been looking around for an alternative. I know it's not easy and I will follow your progress with great interest.

adamjimenez avatar May 20 '21 22:05 adamjimenez

The undo behavior will largely be added into Convergence itself, and then we will update this library if it needs changes to support that.

mmacfadden avatar Jul 10 '21 22:07 mmacfadden