When typing ":marks" in a file with long lines, I notice that the text
of the marked lines is truncated after a number of _bytes_ (including
line number etc.) equal to the 'columns' setting; in partly non-ASCII
text (and for example in my Russian dictionary mixing Russian
(Cyrillic) and French (Latin) text with occasionally UTF-8 punctuation
marks like em-dash or horizontal ellipsis) this gives marked text of
apparently fluctuating width, because the "column" (i.e. byte number)
differs from the "virtual column" (i.e. screen cell number) in
function of the number of non-ASCII characters (each "trailer byte"
0x80..0xBF in their UTF-8 representation shortens by one column the
length of the displayed text). I didn't check what happens if the
concerned text includes hard tabs, which may _increase_ the screen
cell number by respect to the byte number.

Seen in Big gvim 8.1.164 with GTK2 GUI, not tested in other builds.

Bug or feature?

Best regards,
Tony.

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