fix bug in '^' motion: only move cursor if (chr = /home/humza/Downloads/sml/shf/fcore/cursor.sml' '), not if Char.isSpace (which also returns true if chr is newline or tab) is true

This commit is contained in:
2024-11-24 20:32:47 +00:00
parent 98f8313141
commit eb3eb6c41f

View File

@@ -1156,7 +1156,7 @@ struct
let
val chr = String.sub (str, strPos)
in
if Char.isSpace chr then
if chr = #" " then
helpFirstNonSpaceChr
(strPos + 1, str, absIdx + 1, stl, ltl)
else