Fix names

This commit is contained in:
Andras Schmelczer 2025-07-06 12:40:26 +01:00
commit 6b6b16af3c
No known key found for this signature in database
GPG key ID: FC8F2C3D3D1A718C
5 changed files with 13 additions and 21 deletions

View file

@ -174,7 +174,7 @@ function toTextWithCursors(
function toCursorPosition(cursor: wasmCursorPosition): CursorPosition {
return {
id: cursor.id(),
position: cursor.characterPosition(),
position: cursor.characterIndex(),
};
}