Hi list,

Don't know if it's a bug or feature, but when in visual mode, if I select just
one multibyte charactor, say "我", getpos("'>")[2] will return a value the
same as getpos("'<")[2], but in fact, a multibyte should occupy multi columns
so it should be a value larger than getpos("'<")[2]'s.

-- 
Regards,
Yue Wu

Key Laboratory of Modern Chinese Medicines
Department of Traditional Chinese Medicine
China Pharmaceutical University
No.24, Tongjia Xiang Street, Nanjing 210009, China

-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

To unsubscribe, reply using "remove me" as the subject.

Raspunde prin e-mail lui