Copy this line. There is a character between [鈥媇.
hexdump -C says:
00000000 43 6f 70 79 20 74 68 69 73 20 6c 69 6e 65 2e 20 |Copy this line. |
00000010 20 54 68 65 72 65 20 69 73 20 61 20 63 68 61 72 | There is a char|
00000020 61 63 74 65 72 20 62 65 74 77 65 65 6e 20 5b e2 |acter between [.|
00000030 80 8b 5d 2e 0a |..]..|
00000035
The bytes between [] are E2 80 8B, which is the UTF-8 encoding of U+200B ZERO WIDTH SPACE. The h and l keys in Kakoune navigate by Unicode code-point, but not all code-points are visible on-screen, so sometimes the cursor disappears when a zero-width string is selected. Unicode combining characters (which are also zero-width) have the same effect: try pasting Z廷汰摊坦蛨a炭處蛬庭虦贪蛧虡l汰虧毯坛泰泰虠g蛶毯泰虨o抬 虁同艇蛥踏汰t虄虈虈蜌摊蛪e虇蛻虩蛧xt into Kakoune and see what happens.
Related #1447
Most helpful comment
hexdump -Csays:The bytes between
[]are E2 80 8B, which is the UTF-8 encoding of U+200B ZERO WIDTH SPACE. Thehandlkeys in Kakoune navigate by Unicode code-point, but not all code-points are visible on-screen, so sometimes the cursor disappears when a zero-width string is selected. Unicode combining characters (which are also zero-width) have the same effect: try pasting Z廷汰摊坦蛨a炭處蛬庭虦贪蛧虡l汰虧毯坛泰泰虠g蛶毯泰虨o抬 虁同艇蛥踏汰t虄虈虈蜌摊蛪e虇蛻虩蛧xt into Kakoune and see what happens.