Add cursor moving #19

Merged
schmelczer merged 23 commits from asch/cursors into main 2025-04-02 22:06:38 +01:00
Showing only changes of commit 168fb44b07 - Show all commits

View file

@ -479,7 +479,10 @@ export class Syncer {
.filter(
(remoteDocument) =>
allLocalFiles.includes(remoteDocument.relativePath) &&
!remoteDocument.isDeleted
!remoteDocument.isDeleted &&
this.database.getDocumentByDocumentId(
remoteDocument.documentId
) === undefined
)
.forEach((remoteDocument) => {
this.database.createNewEmptyDocument(