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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user