fix very minor issue in cursor.sml's 'helpViL' function (previously returned cursorIdx when non-line breaks is followed by non-line break, but now return cursorIdx + 1 instead which is the correct behaviour, because we want to move the cursor rightwards one position in that case

This commit is contained in:
2024-11-07 21:07:11 +00:00
parent fdb6e0292a
commit 81c516e907
2 changed files with 1 additions and 1 deletions

View File

@@ -146,7 +146,7 @@ struct
cursorIdx + 2
else
(* non-line break followed by non-line break *)
cursorIdx
cursorIdx + 1
| [] =>
cursorIdx)

BIN
shf

Binary file not shown.