Undo any operation at any time in group editors

Chengzheng Sun

Abstract

The ability to undo operations is an indispensable feature of real-time group editors, but supporting group undo is a difficult problem. None of the existing solutions for group undo is able to support undoing any operation at any time with guaranteed success. In this paper, we contribute a novel group undo solution with such a capability. The basic idea is to interpret an undo command as a concurrent inverse operation by means of operational transformation, so that an operation is always undoable regardless of its undo context. By separating undo policy from undo mechanism, multiple undo modes, such as single-step undo, chronological undo, and selective undo, can be supported in the same collaborative editing session. In addition, solutions to known undo puzzles are also provided. A web-based group text editor using the proposed undo solution has been implemented and is accessible at: http://reduce.qpsf.edu.au.

Venue
CSCW 2000
Volume
Proceedings of the 2000 ACM conference on Computer supported cooperative work
DOI
10.1145/358916.358990
PDF
https://dl.acm.org/doi/pdf/10.1145/358916.358990
Anthology ID
2000.cscw.21

Cite

@inproceedings{sun-2000-undo,
    title = {{Undo any operation at any time in group editors}},
    author = {Chengzheng Sun},
    booktitle = {Proceedings of the 2000 ACM conference on Computer supported cooperative work},
    isbn = {1581132220},
    year = {2000},
    publisher = {Association for Computing Machinery},
    address = {New York, NY, USA},
    doi = {10.1145/358916.358990},
    url = {https://doi.org/10.1145/358916.358990},
    abstract = {The ability to undo operations is an indispensable feature of real-time group editors, but supporting group undo is a difficult problem. None of the existing solutions for group undo is able to support undoing any operation at any time with guaranteed success. In this paper, we contribute a novel group undo solution with such a capability. The basic idea is to interpret an undo command as a concurrent inverse operation by means of operational transformation, so that an operation is always undoable regardless of its undo context. By separating undo policy from undo mechanism, multiple undo modes, such as single-step undo, chronological undo, and selective undo, can be supported in the same collaborative editing session. In addition, solutions to known undo puzzles are also provided. A web-based group text editor using the proposed undo solution has been implemented and is accessible at: http://reduce.qpsf.edu.au.}
}