new task: rewrite basic cursor.sml functions (h, j, k, l) to look for 'is line break preceded by non-line break?' rather than 'is there a double line break?' because the second question which is already implemented has buggy behaviour on triple line breaks, where cursor does not go to the place user expects. Currently, on Cursor.viL has been rewritten to match the first question.

This commit is contained in:
2024-11-05 13:14:52 +00:00
parent 9df6f92a33
commit b0a37c5c56
2 changed files with 38 additions and 50 deletions

View File

@@ -5,6 +5,8 @@ sig
-> MailboxType.t list
end
structure TextBuilder :> TEXT_BUILDER =
struct
val xSpace = 13