comparison runtime/doc/eval.txt @ 665:21ab9abf0f08

updated for version 7.0196
author vimboss
date Fri, 10 Feb 2006 23:20:28 +0000
parents 5acda076fb0c
children 9090f866cd57
comparison
equal deleted inserted replaced
664:ce5a759cc907 665:21ab9abf0f08
1 *eval.txt* For Vim version 7.0aa. Last change: 2006 Feb 03 1 *eval.txt* For Vim version 7.0aa. Last change: 2006 Feb 10
2 2
3 3
4 VIM REFERENCE MANUAL by Bram Moolenaar 4 VIM REFERENCE MANUAL by Bram Moolenaar
5 5
6 6
3208 position given with {expr}. The accepted positions are: 3208 position given with {expr}. The accepted positions are:
3209 . the cursor position 3209 . the cursor position
3210 $ the last line in the current buffer 3210 $ the last line in the current buffer
3211 'x position of mark x (if the mark is not set, 0 is 3211 'x position of mark x (if the mark is not set, 0 is
3212 returned) 3212 returned)
3213 w0 first line visible in current window
3214 w$ last line visible in current window
3213 Note that only marks in the current file can be used. 3215 Note that only marks in the current file can be used.
3214 Examples: > 3216 Examples: >
3215 line(".") line number of the cursor 3217 line(".") line number of the cursor
3216 line("'t") line number of mark t 3218 line("'t") line number of mark t
3217 line("'" . marker) line number of mark marker 3219 line("'" . marker) line number of mark marker