Add comment

This commit is contained in:
Andras Schmelczer 2025-04-13 22:23:35 +01:00
parent 438f0b4d97
commit 23684c982e
No known key found for this signature in database
GPG key ID: FC8F2C3D3D1A718C

View file

@ -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;
}