aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/func.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-05-20 20:50:32 +0800
committerzeertzjq <zeertzjq@outlook.com>2024-05-20 20:59:54 +0800
commite0259b9466a0dd62b74d4aa195b3c5e6c7a183d0 (patch)
tree225a99d08431a6f295c01e60f17ccbe65075a57a /runtime/lua/vim/func.lua
parent3383603c134944d374eb0814a2f707a7e3e89b43 (diff)
downloadrneovim-e0259b9466a0dd62b74d4aa195b3c5e6c7a183d0.tar.gz
rneovim-e0259b9466a0dd62b74d4aa195b3c5e6c7a183d0.tar.bz2
rneovim-e0259b9466a0dd62b74d4aa195b3c5e6c7a183d0.zip
vim-patch:9.1.0423: getregionpos() wrong with blockwise mode and multibyte
Problem: getregionpos() wrong with blockwise mode and multibyte. Solution: Use textcol and textlen instead of start_vcol and end_vcol. Handle coladd properly (zeertzjq). Also remove unnecessary buflist_findnr() in add_regionpos_range(), as getregionpos() has already switched buffer. closes: vim/vim#14805 https://github.com/vim/vim/commit/c95e64f41f7f6d1bdc95b047ae9b369743c8637b
Diffstat (limited to 'runtime/lua/vim/func.lua')
0 files changed, 0 insertions, 0 deletions