fix 'MakeNormalDelete.deleteLineBack' test, which failed because we were using the wrong way to check if cursor is currently at the start of the line. We checked '(endOfLine = cursorIdx) which works in most cases to verify that the current position is a newline, but fails when the cursor is at the last non-newline character of the line. This is fixed by being more precise and calling 'Cursor.isCursorAtStartOfLine' to check directly if the cursor is currently at the end of the line.

This commit is contained in:
2025-09-25 10:49:20 +01:00
parent 1f5e933772
commit bf55373f6d
2 changed files with 4 additions and 3 deletions

View File

@@ -1,5 +1,4 @@
hello
world
trello
brillo