2758464a2e
$viewtab = TRUE to visualize hardcoded tabs.
...
Refactor &lef and & mid with stronger assertion on utf8_to_unicode().
2021-08-16 11:05:24 +08:00
109e330861
Consistent interface to deal with workaround on Cygwin when checking width of unicode character > 0xFFFF.
2021-08-15 09:41:35 +08:00
b4d69118f5
Revise header files formatting.
...
Finish tagging BBINDABLE functions.
Modify forward-character to handle combined Unicode.
Bump up version number and set default program name as 'ue'.
2021-08-13 11:06:58 +08:00
cf823e2fad
Clean up handling of unicode character width (non printable are displayed as \u) and insure modeline displays filename including double and zero width characters.
2020-06-24 16:38:03 +08:00
b0362969a3
Handle wide character display based on wcwidth implementation (UTF-16 ready).
2019-11-06 11:24:18 +08:00
e62af18798
Display UTF-8 on the modeline [buffer name, file name].
2019-08-13 09:14:08 +08:00
78a7a3ba4e
Improve support of utf8 in filename completion and key in of command arguments.
2019-08-12 21:41:51 +08:00
bdbd2d5437
Assert that unicode are limited to 0-10FFFF.
2015-02-08 14:26:07 +08:00
de04424e51
Align scope and parameter type for linsert and is_beginning_utf8.
2015-02-02 19:44:35 +08:00
93f2a6d691
clean up line dependencies.
2014-12-22 14:45:55 +08:00
Linus Torvalds
6b793211c2
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>
2012-07-10 16:40:36 -07:00
Linus Torvalds
e62cdf04cf
Split up the utf8 helper functions into a file of their own
...
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2012-07-10 16:21:35 -07:00