A web-based collaborative LaTeX editor
Find a file
James Allen 23dfe68cb8 Don't error when rewinding and insert op which is beyond the length of the document.
ShareJS will accept an op where p > content.length when applied,
and it applies as though p == content.length. However, the op is
passed to us with the original p > content.length. Detect if that
is the case with this op, and shift p back appropriately to match
ShareJS if so.
2015-09-25 13:44:44 +01:00
services/track-changes Don't error when rewinding and insert op which is beyond the length of the document. 2015-09-25 13:44:44 +01:00