overleaf/services/project-history/test/unit/js/ChunkTranslator
Eric Mc Sween e4cc2a0816 Fix history diffs when deleting over many tracked deletes (#19193)
* Fix history diffs when deleting over many tracked deletes

As we are looping through tracked deletes, the offset between the result
positions and the source positions must be kept constant. Otherwise, the
tracked deletes are translated as we delete text and move the source
cursor.

GitOrigin-RevId: b2417a75219aaa16bf5c61e0ebcb0586cae6aef2
2024-07-01 08:04:25 +00:00
..
ChunkTranslatorTests.js Fix history diffs when deleting over many tracked deletes (#19193) 2024-07-01 08:04:25 +00:00