mirror of
https://github.com/neovim/neovim.git
synced 2024-12-20 03:05:11 -07:00
b522cb1ac3
Problem: buffer text with composing chars are converted from UTF-8 to an array of up to seven UTF-32 values and then converted back to UTF-8 strings. Solution: Convert buffer text directly to UTF-8 based schar_T values. The limit of the text size is now in schar_T bytes, which is currently 31+1 but easily could be raised as it no longer multiplies the size of the entire screen grid when not used, the full size is only required for temporary scratch buffers. Also does some general cleanup to win_line text handling, which was unnecessarily complicated due to multibyte rendering being an "opt-in" feature long ago. Nowadays, a char is just a char, regardless if it consists of one ASCII byte or multiple bytes. |
||
---|---|---|
.. | ||
api_keysets.lua | ||
api.lua | ||
base64.lua | ||
builtin_types.lua | ||
builtin.lua | ||
diff.lua | ||
json.lua | ||
lpeg.lua | ||
misc.lua | ||
mpack.lua | ||
options.lua | ||
regex.lua | ||
spell.lua | ||
vimfn.lua |