Fix names
This commit is contained in:
parent
98dc11896e
commit
6b6b16af3c
5 changed files with 13 additions and 21 deletions
|
|
@ -174,7 +174,7 @@ function toTextWithCursors(
|
|||
function toCursorPosition(cursor: wasmCursorPosition): CursorPosition {
|
||||
return {
|
||||
id: cursor.id(),
|
||||
position: cursor.characterPosition(),
|
||||
position: cursor.characterIndex(),
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue