Bram,
: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
Best,
Christian
--
Aus Murphy's Gesetze:
Das Produkt, das du beinahe gekauft hättest, schneidet im Testbereich
am besten ab.