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
|
let
|
||||||
val chr = String.sub (str, strPos)
|
val chr = String.sub (str, strPos)
|
||||||
in
|
in
|
||||||
if Char.isSpace chr then
|
if chr = #" " then
|
||||||
helpFirstNonSpaceChr
|
helpFirstNonSpaceChr
|
||||||
(strPos + 1, str, absIdx + 1, stl, ltl)
|
(strPos + 1, str, absIdx + 1, stl, ltl)
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user