Mercurial > vim
comparison runtime/doc/eval.txt @ 9097:071f9da012fb
commit https://github.com/vim/vim/commit/06d2d38ab7564e1f784b1058a4ef4580cd6d1810
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri May 20 17:24:11 2016 +0200
Updated runtime files.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Fri, 20 May 2016 17:30:06 +0200 |
parents | 9305a1251e51 |
children | 2242a5766417 |
comparison
equal
deleted
inserted
replaced
9096:e6ecaa231a5d | 9097:071f9da012fb |
---|---|
1 *eval.txt* For Vim version 7.4. Last change: 2016 May 05 | 1 *eval.txt* For Vim version 7.4. Last change: 2016 May 20 |
2 | 2 |
3 | 3 |
4 VIM REFERENCE MANUAL by Bram Moolenaar | 4 VIM REFERENCE MANUAL by Bram Moolenaar |
5 | 5 |
6 | 6 |
3643 argument is not allowed. E.g.: > | 3643 argument is not allowed. E.g.: > |
3644 let FuncWithArg = function(dict.Func, [arg]) | 3644 let FuncWithArg = function(dict.Func, [arg]) |
3645 let Broken = function(dict.Func, [arg], dict) | 3645 let Broken = function(dict.Func, [arg], dict) |
3646 < | 3646 < |
3647 When {arglist} or {dict} is present this creates a partial. | 3647 When {arglist} or {dict} is present this creates a partial. |
3648 That mans the argument list and/or the dictionary is stored in | 3648 That means the argument list and/or the dictionary is stored in |
3649 the Funcref and will be used when the Funcref is called. | 3649 the Funcref and will be used when the Funcref is called. |
3650 | 3650 |
3651 The arguments are passed to the function in front of other | 3651 The arguments are passed to the function in front of other |
3652 arguments. Example: > | 3652 arguments. Example: > |
3653 func Callback(arg1, arg2, name) | 3653 func Callback(arg1, arg2, name) |
7186 < This will invoke MyHandler() three times at 500 msec | 7186 < This will invoke MyHandler() three times at 500 msec |
7187 intervals. | 7187 intervals. |
7188 {only available when compiled with the |+timers| feature} | 7188 {only available when compiled with the |+timers| feature} |
7189 | 7189 |
7190 timer_stop({timer}) *timer_stop()* | 7190 timer_stop({timer}) *timer_stop()* |
7191 Stop a timer. {timer} is an ID returned by timer_start(). | 7191 Stop a timer. The timer callback will no longer be invoked. |
7192 The timer callback will no longer be invoked. | 7192 {timer} is an ID returned by timer_start(), thus it must be a |
7193 Number. | |
7193 | 7194 |
7194 tolower({expr}) *tolower()* | 7195 tolower({expr}) *tolower()* |
7195 The result is a copy of the String given, with all uppercase | 7196 The result is a copy of the String given, with all uppercase |
7196 characters turned into lowercase (just like applying |gu| to | 7197 characters turned into lowercase (just like applying |gu| to |
7197 the string). | 7198 the string). |