Mercurial > vim
diff runtime/doc/eval.txt @ 7384:aea5ebf352c4
commit https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Dec 29 19:10:25 2015 +0100
Updated runtime files.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 29 Dec 2015 19:15:06 +0100 |
parents | 6fbeef3b65e6 |
children | 05cf4cc72a9f |
line wrap: on
line diff
--- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -1,4 +1,4 @@ -*eval.txt* For Vim version 7.4. Last change: 2015 Dec 28 +*eval.txt* For Vim version 7.4. Last change: 2015 Dec 29 VIM REFERENCE MANUAL by Bram Moolenaar @@ -865,8 +865,8 @@ expr1'th single byte from expr8. expr8 Number. This doesn't recognize multi-byte encodings, see |byteidx()| for an alternative. -Index zero gives the first character. This is like it works in C. Careful: -text column numbers start with one! Example, to get the character under the +Index zero gives the first byte. This is like it works in C. Careful: +text column numbers start with one! Example, to get the byte under the cursor: > :let c = getline(".")[col(".") - 1]