|
1 | | -*eval.txt* For Vim version 8.2. Last change: 2020 Jul 09 |
| 1 | +*eval.txt* For Vim version 8.2. Last change: 2020 Jul 19 |
2 | 2 |
|
3 | 3 |
|
4 | 4 | VIM REFERENCE MANUAL by Bram Moolenaar |
@@ -94,8 +94,9 @@ the Number. Examples: |
94 | 94 | Number 0 --> String "0" ~ |
95 | 95 | Number -1 --> String "-1" ~ |
96 | 96 | *octal* |
97 | | -Conversion from a String to a Number is done by converting the first digits to |
98 | | -a number. Hexadecimal "0xf9", Octal "017" or "0o17", and Binary "0b10" |
| 97 | +Conversion from a String to a Number only happens in legacy Vim script, not in |
| 98 | +Vim9 script. It is done by converting the first digits to a number. |
| 99 | +Hexadecimal "0xf9", Octal "017" or "0o17", and Binary "0b10" |
99 | 100 | numbers are recognized (NOTE: when using |scriptversion-4| octal with a |
100 | 101 | leading "0" is not recognized). If the String doesn't start with digits, the |
101 | 102 | result is zero. |
@@ -2843,7 +2844,7 @@ stridx({haystack}, {needle} [, {start}]) |
2843 | 2844 | string({expr}) String String representation of {expr} value |
2844 | 2845 | strlen({expr}) Number length of the String {expr} |
2845 | 2846 | strpart({str}, {start} [, {len}]) |
2846 | | - String {len} characters of {str} at {start} |
| 2847 | + String {len} bytes of {str} at byte {start} |
2847 | 2848 | strptime({format}, {timestring}) |
2848 | 2849 | Number Convert {timestring} to unix timestamp |
2849 | 2850 | strridx({haystack}, {needle} [, {start}]) |
@@ -9195,7 +9196,8 @@ setqflist({list} [, {action} [, {what}]]) *setqflist()* |
9195 | 9196 | the last quickfix list. |
9196 | 9197 | quickfixtextfunc |
9197 | 9198 | function to get the text to display in the |
9198 | | - quickfix window. Refer to |
| 9199 | + quickfix window. The value can be the name of |
| 9200 | + a function or a funcref or a lambda. Refer to |
9199 | 9201 | |quickfix-window-function| for an explanation |
9200 | 9202 | of how to write the function and an example. |
9201 | 9203 | title quickfix list title text. See |quickfix-title| |
|
0 commit comments