Fix cursor navigation at the ends of lines
Merge remote-tracking branch 'upstream/refactor-syntax_unicode' into refactor-syntax_unicode