I cannot follow your argumentation. The docs say:
"The result is a Number, which is the screen column of the file position given
with {expr}. That is, the last screen position occupied by the character at
that position, *when the screen would be of unlimited width*."
The last sentence clearly
On 04-Jun-2014 16:54 +0200, Павлов Николай Александрович wrote:
On 04-Jun-2014 16:54, Павлов Николай Александрович wrote:>
>
> On June 4, 2014 6:44:34 PM GMT+03:00, "Павлов Николай
> Александрович" wrote:
>> -BEGIN PGP SIGNED MESSAGE- Hash: SHA512
>
>
>
>> On June 4, 2014 3:48:42 PM
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512
On June 4, 2014 6:44:34 PM GMT+03:00, "Павлов Николай Александрович"
wrote:
>-BEGIN PGP SIGNED MESSAGE-
>Hash: SHA512
>
>
>
>On June 4, 2014 3:48:42 PM GMT+03:00, Ingo Karkat
> wrote:
>>On 04-Jun-2014 13:34 +0200, Axel Bender wrote:
>>
>>
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512
On June 4, 2014 3:48:42 PM GMT+03:00, Ingo Karkat wrote:
>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
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 otherw
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...
I consider this a flaw (well maybe a bug?) that should be fixed.
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! T
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512
On June 2, 2014 10:18:40 PM GMT+03:00, Axel Bender
wrote:
>virtcol() fails to deliver the correct screen column if showbreak is
>set to a value other than "" and wrap is on, i.e. it doesn't take into
>account the length of the string that showbre
virtcol() fails to deliver the correct screen column if showbreak is set to a
value other than "" and wrap is on, i.e. it doesn't take into account the
length of the string that showbreak is set to.
To reproduce:
1) Start a "bare" gvim with a text containing a long line.
2) :set nowrap
3) Posit