Lech Lorens wrote:

> Steps to reproduce:
> Edit a file with the following contents (each of the 4 lines contains 
> a tab character followed by 8 spaces):
> #v+
>               
>               
>               
>               
> #v-
> 
> Perform the following steps:
> :set ts=8 listchars=tab:>- list
> :digraphs ta 9
> 
> Go to the first space in the line. Enter the following sequence of 
> keystrokes:
> gR<C-v><Tab><Esc>j0l.j0lgR<C-k>ta<Esc>j0l.
> 
> Vim will show:
> #v+
> >------- -------
> >------->-------
> >------- -------
> >------->-------
> #v-
> 
> while it should:
> #v+
> >------->-------
> >------->-------
> >------->-------
> >------->-------
> #v-
> 
> The attached patch fixes the problem. Additionally a redundant call to 
> edit_unputchar() is removed.

Great, thanks.

-- 
hundred-and-one symptoms of being an internet addict:
73. You give your dog used motherboards instead of bones

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

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