diff --git a/frontend/sync-client/src/file-operations/filesystem-operations.ts b/frontend/sync-client/src/file-operations/filesystem-operations.ts index 175490d4..4caf538d 100644 --- a/frontend/sync-client/src/file-operations/filesystem-operations.ts +++ b/frontend/sync-client/src/file-operations/filesystem-operations.ts @@ -2,6 +2,8 @@ import type { RelativePath } from "../persistence/database"; export interface Cursor { id: number; + + /// The character position is the index of the character in the text where the text lines are separated by '\n' new line character even if the actual text uses different line endings. characterPosition: number; }