Bill McCarthy wrote:
[...]
Perhaps.  It behaves that way (also in 6.4) for both %b and
%B.  In Gvim, the cursor is between 2 characters - so
returning zero for %b and %B seems reasonable.  OTOH,
supporting the bug conclusion, the character position of %c,
%v and %V report the position following the between
character cursor.


In (g)vim, the cursor is never between characters. In gvim, with the default setting for 'guicursor', the cursor looks as if it were between characters, because it is drawn as a vertical bar occupying the leftmost 25% of its character cell; but ":set guicursor=a:block-Cursor" will show that it is indeed within a character cell (whose position is reported by %c %v %V).


Best regards,
Tony.

Reply via email to