Friday, May 11, 2012

Multibyte: number of characters at cursor

When mixing characters and multibyte characters how
to get the number of characters at the cursor.
The multibyte analogy of col('.'), which returns number of
bytes - what returns number of characters.

Also, like to set cursor position using number of characters
in the column (similar to cursor(line, col) where col is the number of
bytes
but some call that uses number of characters).

Thanks

Richard

--
You received this message from the "vim_use" 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

No comments: