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, 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.
> > > 
> > > http://go-gyazo.appspot.com/1f5faa5d80b6b1f9.png
> > > 
> > > This occur windows/linux both in latest version of vim.
> > > 
> > 
> > So, is the problem with wide multibyte characters in insert mode, the 
> > cursor appears in the middle of the character instead of in between 
> > characters? I'm only guessing here. I don't know any wide characters 
> > off-hand (and cannot identify the one in the screenshot), nor do I normally 
> > use a font with glyphs for eastern scripts, nor do I even know if the 
> > screenshot indeed shows wide characters.

-- 
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

Raspunde prin e-mail lui