comparison runtime/doc/eval.txt @ 674:4b8583e82cb8 v7.0201

updated for version 7.0201
author vimboss
date Sat, 18 Feb 2006 22:14:51 +0000
parents 9090f866cd57
children e649c78407e6
comparison
equal deleted inserted replaced
673:513866ffe6af 674:4b8583e82cb8
1 *eval.txt* For Vim version 7.0aa. Last change: 2006 Feb 14 1 *eval.txt* For Vim version 7.0aa. Last change: 2006 Feb 18
2 2
3 3
4 VIM REFERENCE MANUAL by Bram Moolenaar 4 VIM REFERENCE MANUAL by Bram Moolenaar
5 5
6 6
1688 synID( {lnum}, {col}, {trans}) Number syntax ID at {lnum} and {col} 1688 synID( {lnum}, {col}, {trans}) Number syntax ID at {lnum} and {col}
1689 synIDattr( {synID}, {what} [, {mode}]) 1689 synIDattr( {synID}, {what} [, {mode}])
1690 String attribute {what} of syntax ID {synID} 1690 String attribute {what} of syntax ID {synID}
1691 synIDtrans( {synID}) Number translated syntax ID of {synID} 1691 synIDtrans( {synID}) Number translated syntax ID of {synID}
1692 system( {expr} [, {input}]) String output of shell command/filter {expr} 1692 system( {expr} [, {input}]) String output of shell command/filter {expr}
1693 tabpage( [{expr}]) Number number of current tab page
1693 taglist( {expr}) List list of tags matching {expr} 1694 taglist( {expr}) List list of tags matching {expr}
1694 tagfiles() List tags files used 1695 tagfiles() List tags files used
1695 tempname() String name for a temporary file 1696 tempname() String name for a temporary file
1696 tolower( {expr}) String the String {expr} switched to lowercase 1697 tolower( {expr}) String the String {expr} switched to lowercase
1697 toupper( {expr}) String the String {expr} switched to uppercase 1698 toupper( {expr}) String the String {expr} switched to uppercase
1703 visualmode( [expr]) String last visual mode used 1704 visualmode( [expr]) String last visual mode used
1704 winbufnr( {nr}) Number buffer number of window {nr} 1705 winbufnr( {nr}) Number buffer number of window {nr}
1705 wincol() Number window column of the cursor 1706 wincol() Number window column of the cursor
1706 winheight( {nr}) Number height of window {nr} 1707 winheight( {nr}) Number height of window {nr}
1707 winline() Number window line of the cursor 1708 winline() Number window line of the cursor
1708 winnr() Number number of current window 1709 winnr( [{expr}]) Number number of current window
1709 winrestcmd() String returns command to restore window sizes 1710 winrestcmd() String returns command to restore window sizes
1710 winwidth( {nr}) Number width of window {nr} 1711 winwidth( {nr}) Number width of window {nr}
1711 writefile({list}, {fname} [, {binary}]) 1712 writefile({list}, {fname} [, {binary}])
1712 Number write list of lines to file {fname} 1713 Number write list of lines to file {fname}
1713 1714
4445 when using a security agent application. 4446 when using a security agent application.
4446 Unlike ":!cmd" there is no automatic check for changed files. 4447 Unlike ":!cmd" there is no automatic check for changed files.
4447 Use |:checktime| to force a check. 4448 Use |:checktime| to force a check.
4448 4449
4449 4450
4451 tabpagenr([{arg}]) *tabpagenr()*
4452 The result is a Number, which is the number of the current
4453 tab page. The first tab page has number 1.
4454 When the optional argument is "$", the number of the last tab
4455 page is returned (the tab page count).
4456 The number can be used with the |:tab| command.
4457
4458
4450 taglist({expr}) *taglist()* 4459 taglist({expr}) *taglist()*
4451 Returns a list of tags matching the regular expression {expr}. 4460 Returns a list of tags matching the regular expression {expr}.
4452 Each list item is a dictionary with at least the following 4461 Each list item is a dictionary with at least the following
4453 entries: 4462 entries:
4454 name Name of the tag. 4463 name Name of the tag.
4616 4625
4617 *winnr()* 4626 *winnr()*
4618 winnr([{arg}]) The result is a Number, which is the number of the current 4627 winnr([{arg}]) The result is a Number, which is the number of the current
4619 window. The top window has number 1. 4628 window. The top window has number 1.
4620 When the optional argument is "$", the number of the 4629 When the optional argument is "$", the number of the
4621 last window is returnd (the window count). 4630 last window is returned (the window count).
4622 When the optional argument is "#", the number of the last 4631 When the optional argument is "#", the number of the last
4623 accessed window is returned (where |CTRL-W_p| goes to). 4632 accessed window is returned (where |CTRL-W_p| goes to).
4624 If there is no previous window 0 is returned. 4633 If there is no previous window 0 is returned.
4625 The number can be used with |CTRL-W_w| and ":wincmd w" 4634 The number can be used with |CTRL-W_w| and ":wincmd w"
4626 |:wincmd|. 4635 |:wincmd|.