On 04-Jun-2014 13:34 +0200, Axel Bender wrote:

> I'd already be happy if virtcol() would take into account the length of the 
> showbreak string. I'm otherwise prepared to work with UTF-8 characters...

Character widths are not directly related to this, but that little
incorrectness in your otherwise precise and welcome bug report shouldn't
have provoked such a rant. Sorry.

> I consider this a flaw (well maybe a bug?) that should be fixed.

I can reproduce this issue with 7.4.264. Even worse, :set linebreak also
affects the virtcol() value and makes it wrong (when such wrap occurs).
So, one only gets correct values out of virtcol() with :set sbr= nolbr;
which indeed should be fixed!

-- regards, ingo

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