modify 'd$' implementation to pass failing test (we don't want to delete newline at end of line, so we don't do that now)

This commit is contained in:
2025-10-16 11:09:20 +01:00
parent c190cec868
commit c2eaa5537c
2 changed files with 2 additions and 1 deletions

View File

@@ -431,7 +431,7 @@ struct
else
let
val lineStart = Cursor.vi0 (buffer, cursorIdx)
val high = Cursor.viDlrForDelete (buffer, cursorIdx, 1)
val high = Cursor.viDlr (buffer, cursorIdx, 1) + 1
val length = high - cursorIdx
val buffer = LineGap.goToIdx (high, buffer)

View File

@@ -1,2 +1,3 @@
hello
world