reimplement vi's 'l' motion so that we only skip a newline when it is preceded by a non-newline character

This commit is contained in:
2025-09-21 17:49:30 +01:00
parent 639f71009c
commit d63201ada7
5 changed files with 59 additions and 9 deletions

View File

@@ -56,7 +56,7 @@ struct
val viDlr = ViDlrDfa.next
val viDlrForDelete = ViDlrDfa.nextForDelete
val viL = ViHlDfa.l
val viL = ViLDfa.next
val viH = ViHlDfa.h
fun helpGetCursorColumn (distanceFromLine, strList, lineList) =