I updated patch:
https://gist.github.com/2886056
It should not check the character on cursor is double-width or not with looking
mb_ptr2cell(ptr). It should check with looking mb_char2cells(mb_c) before
update mb_c.
Thanks.
On Thursday, June 7, 2012 3:03:37 AM UTC+9, Bram Moolenaar wrote:
If precedes is '',
a b c
AABBCC
(AA BB CC mean mult-byte)
Below should be
b c
BBCC
( means trail of multi-byte)
Below is a patch.
https://gist.github.com/2881320
Bram, please check.
On Wednesday, June 6, 2012 9:25:25 AM UTC+9, mattn wrote:
I'll write a patch later.
On Wednesday,
Seems to be broken patch, I'll update in later.
On 6/6/12, mattn mattn...@gmail.com wrote:
If precedes is '',
a b c
AABBCC
(AA BB CC mean mult-byte)
Below should be
b c
BBCC
( means trail of multi-byte)
Below is a patch.
https://gist.github.com/2881320
Bram, please check.
On
Seems to be broken patch, I'll update in later.
On 6/6/12, mattn mattn...@gmail.com wrote:
If precedes is '',
a b c
AABBCC
(AA BB CC mean mult-byte)
Below should be
b c
BBCC
( means trail of multi-byte)
Below is a patch.
https://gist.github.com/2881320
Bram, please check.
On
Yasuhiro Matsumoto wrote:
If precedes is '',
a b c
AABBCC
(AA BB CC mean mult-byte)
Below should be
b c
BBCC
( means trail of multi-byte)
Below is a patch.
https://gist.github.com/2881320
Bram, please check.
Thanks for the patch. I'll check it out.
--
How To Keep
On Monday, June 4, 2012 8:11:34 PM UTC-5, mattn wrote:
set listchars=tab:-,trail:-,eol:\|,precedes:
This occur with multi-byte characters that long text over width.
http://go-gyazo.appspot.com/1f5faa5d80b6b1f9.png
This occur windows/linux both in latest version of vim.
So, is the
I'll write a patch later.
On Wednesday, June 6, 2012 12:22:43 AM UTC+9, Ben Fritz wrote:
On Monday, June 4, 2012 8:11:34 PM UTC-5, mattn wrote:
set listchars=tab:-,trail:-,eol:\|,precedes:
This occur with multi-byte characters that long text over width.
On Monday, June 4, 2012 12:36:43 AM UTC-5, mattn wrote:
Hi.
If listchars contains precedes, cursor position moves above wrong position.
I've had this setting for quite some time:
listchars=nbsp:␣,conceal:⋯,tab:▕—,trail:ˑ,precedes:…,extends:…
and have never noticed any problems with cursor
set listchars=tab:-,trail:-,eol:\|,precedes:
This occur with multi-byte characters that long text over width.
http://go-gyazo.appspot.com/1f5faa5d80b6b1f9.png
This occur windows/linux both in latest version of vim.
On Tuesday, June 5, 2012 12:05:00 AM UTC+9, Ben Fritz wrote:
On Monday, June