Mercurial > vim
diff runtime/doc/eval.txt @ 419:f713fc55bf7b v7.0109
updated for version 7.0109
author | vimboss |
---|---|
date | Mon, 18 Jul 2005 21:58:11 +0000 |
parents | 4a1ead01d30b |
children | 73f016dbb279 |
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.0aa. Last change: 2005 Jul 07 +*eval.txt* For Vim version 7.0aa. Last change: 2005 Jul 18 VIM REFERENCE MANUAL by Bram Moolenaar @@ -3979,8 +3979,10 @@ synID({lnum}, {col}, {trans}) *synID( {lnum} and {col} in the current window. The syntax ID can be used with |synIDattr()| and |synIDtrans()| to obtain syntax information about text. + {col} is 1 for the leftmost column, {lnum} is 1 for the first - line. + line. 'synmaxcol' applies, in a longer line zero is returned. + When {trans} is non-zero, transparent items are reduced to the item that they reveal. This is useful when wanting to know the effective color. When {trans} is zero, the transparent