commit | 6b793211c2aec69115dd2769892be0524801f7d8 | [log] [tgz] |
---|---|---|
author | Linus Torvalds <torvalds@linux-foundation.org> | Tue Jul 10 16:40:36 2012 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Tue Jul 10 16:40:36 2012 -0700 |
tree | 4a9cab1b1a97c7c66ab90353ad6aab56abad30e0 | |
parent | e62cdf04cff63381121364cd6ef077f00d72307a [diff] |
Make cursor movement (largely) understand UTF-8 character boundaries Ok, so it may do odd things if it's not truly utf-8, and when moving up and down lines that have utf-8 the cursor moves oddly (because the byte offset within the line stays constant, rather than the character offset), but with this you can actually open the UTF8 example file and move around it, and at least some of the movement makes sense. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>