Commit 464b9d3
committed
Fix issue of
When only one change is happened, and `change.getRange() == null`, so a new version content will be put into activeDocuments.
However, later `newText` will still overwrite this version. Unfortunately, in this case, `newText` will be `existing.content`.
So in this case, the existing content will be put into activeDocuments in the end.didChange for null range change.1 parent 9b9c6a3 commit 464b9d3
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
541 | 541 | | |
542 | 542 | | |
543 | 543 | | |
544 | | - | |
| 544 | + | |
545 | 545 | | |
546 | 546 | | |
547 | 547 | | |
| |||
0 commit comments