Proposed change in help for g Ctrl-G

8 views
Skip to first unread message

Tony Mechelynck

unread,
Oct 22, 2020, 7:56:28 PM10/22/20
to Bram Moolenaar, vim_dev
Second paragraph of the g_CTRL-G help.

There is:

If there are characters in the line that take more
than one position on the screen (<Tab> or special
character), both the "real" column and the screen
column are shown, separated with a dash.

I suggest:

If there are characters in the line that take more
than one position on the screen (<Tab> or special
character), or characters using more than one byte
per column (e.g. Unicode codepoints higher than
U+007F when 'encoding' is utf-8), both the
byte-of-line and the screen column are shown,
separated by a dash.

Best regards,
Tony.

Bram Moolenaar

unread,
Oct 23, 2020, 9:07:47 AM10/23/20
to vim...@googlegroups.com, Tony Mechelynck

Tony wrote:

> Second paragraph of the g_CTRL-G help.
>
> There is:
>
> If there are characters in the line that take more
> than one position on the screen (<Tab> or special
> character), both the "real" column and the screen
> column are shown, separated with a dash.
> asdf
>
> I suggest:
>
> If there are characters in the line that take more
> than one position on the screen (<Tab> or special
> character), or characters using more than one byte
> per column (e.g. Unicode codepoints higher than
> U+007F when 'encoding' is utf-8), both the
> byte-of-line and the screen column are shown,
> separated by a dash.

That's a bit more accurate, thanks.

--
Two percent of zero is almost nothing.

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
Reply all
Reply to author
Forward
0 new messages