eval.txt.gz
col({expr}) The result is a Number, which is the byte index of the
column
position given with {expr}. The accepted positions are:
. the cursor position
$ the end of the cursor line (the result is the
number of characters in the cursor line
plus one)
^^^^^^^^^^^^^^^
Richard
On 05/12/2012 09:11 AM, Bram Moolenaar wrote:
Richard Emberson wrote:
The eval documentation says that col('$') returns
"the number of characters ..."
but it actually return the number of bytes.
Where? The help for col() mentions bytes.
--
Quis custodiet ipsos custodes
--
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