Christian wrote:

> :set selection=exclusive
> <tag>“hello world!”</tag>
> 
> now select the inner tagblock (vit), copy it and paste it somewhere.
> You'll notice, the last (multibyte) quote, won't get copied.
> 
> Here is a patch:
> --- a/src/search.c
> +++ b/src/search.c
> @@ -3933,7 +3933,7 @@ again:
>         if (lt(end_pos, start_pos))
>             curwin->w_cursor = start_pos;
>         else if (*p_sel == 'e')
> -           ++curwin->w_cursor.col;
> +           inc_cursor();
>         VIsual = start_pos;
>         VIsual_mode = 'v';
>         redraw_curbuf_later(INVERTED);  /* update the inversion */
> 
> This issue has been noticed at SO: 
> http://stackoverflow.com/questions/27445912

Thanks!

-- 
The budget process was invented by an alien race of sadistic beings who
resemble large cats.
                                (Scott Adams - The Dilbert principle)

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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui