Mercurial > vim
comparison src/proto/mbyte.pro @ 20695:cea8ae407452 v8.2.0901
patch 8.2.0901: formatting CJK text isn't optimal
Commit: https://github.com/vim/vim/commit/e52702f00322c8a8861efd0bd6a3775e685e5685
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Jun 4 18:22:13 2020 +0200
patch 8.2.0901: formatting CJK text isn't optimal
Problem: Formatting CJK text isn't optimal.
Solution: Properly break CJK lines. (closes https://github.com/vim/vim/issues/3875)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 04 Jun 2020 18:30:04 +0200 |
parents | 6c5b11458f31 |
children | 0bc43a704f56 |
comparison
equal
deleted
inserted
replaced
20694:3a049f4bdaa2 | 20695:cea8ae407452 |
---|---|
50 int mb_strnicmp(char_u *s1, char_u *s2, size_t nn); | 50 int mb_strnicmp(char_u *s1, char_u *s2, size_t nn); |
51 void show_utf8(void); | 51 void show_utf8(void); |
52 int latin_head_off(char_u *base, char_u *p); | 52 int latin_head_off(char_u *base, char_u *p); |
53 int dbcs_screen_head_off(char_u *base, char_u *p); | 53 int dbcs_screen_head_off(char_u *base, char_u *p); |
54 int utf_head_off(char_u *base, char_u *p); | 54 int utf_head_off(char_u *base, char_u *p); |
55 int utf_eat_space(int cc); | |
56 int utf_allow_break_before(int cc); | |
57 int utf_allow_break(int cc, int ncc); | |
55 void mb_copy_char(char_u **fp, char_u **tp); | 58 void mb_copy_char(char_u **fp, char_u **tp); |
56 int mb_off_next(char_u *base, char_u *p); | 59 int mb_off_next(char_u *base, char_u *p); |
57 int mb_tail_off(char_u *base, char_u *p); | 60 int mb_tail_off(char_u *base, char_u *p); |
58 void utf_find_illegal(void); | 61 void utf_find_illegal(void); |
59 int utf_valid_string(char_u *s, char_u *end); | 62 int utf_valid_string(char_u *s, char_u *end); |