Skip to content

Commit 45d4eb1

Browse files
committed
Add a TODO
1 parent c544e2c commit 45d4eb1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/history/historyTracker.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -714,6 +714,8 @@ export class HistoryTracker {
714714
// multiple changes in different places simultaneously. For those, we could require
715715
// them to call addChange manually, I guess...
716716

717+
// Couldn't we also ditch this diffing approach entirely and just use `TextDocumentContentChangeEvent`s?
718+
717719
const diffs = diffEngine.diff_main(this.previousDocumentState.text, newText);
718720
diffEngine.diff_cleanupEfficiency(diffs);
719721

0 commit comments

Comments
 (0)