]>
Commit | Line | Data |
---|---|---|
bed5d5d0 KH |
1 | diff -up vim73/runtime/doc/eval.txt.780 vim73/runtime/doc/eval.txt |
2 | --- vim73/runtime/doc/eval.txt.780 2013-01-28 13:41:04.000000000 +0100 | |
3 | +++ runtime/doc/eval.txt 2013-01-28 13:44:58.000000000 +0100 | |
4 | @@ -1705,7 +1705,7 @@ call( {func}, {arglist} [, {dict}]) | |
5 | any call {func} with arguments {arglist} | |
6 | ceil( {expr}) Float round {expr} up | |
7 | changenr() Number current change number | |
8 | -char2nr( {expr}) Number ASCII value of first char in {expr} | |
9 | +char2nr( {expr}[, {utf8}]) Number ASCII/UTF8 value of first char in {expr} | |
10 | cindent( {lnum}) Number C indent for line {lnum} | |
11 | clearmatches() none clear all matches | |
12 | col( {expr}) Number column nr of cursor or mark | |
13 | @@ -1862,7 +1862,7 @@ mkdir( {name} [, {path} [, {prot}]]) | |
14 | mode( [expr]) String current editing mode | |
15 | mzeval( {expr}) any evaluate |MzScheme| expression | |
16 | nextnonblank( {lnum}) Number line nr of non-blank line >= {lnum} | |
17 | -nr2char( {expr}) String single char with ASCII value {expr} | |
18 | +nr2char( {expr}[, {utf8}]) String single char with ASCII/UTF8 value {expr} | |
19 | or( {expr}, {expr}) Number bitwise OR | |
20 | pathshorten( {expr}) String shorten directory names in a path | |
21 | pow( {x}, {y}) Float {x} to the power of {y} | |
22 | @@ -2282,13 +2282,17 @@ changenr() *changenr()* | |
23 | redo it is the number of the redone change. After undo it is | |
24 | one less than the number of the undone change. | |
25 | ||
26 | -char2nr({expr}) *char2nr()* | |
27 | +char2nr({expr}[, {utf8}]) **char2nr()* | |
28 | Return number value of the first char in {expr}. Examples: > | |
29 | char2nr(" ") returns 32 | |
30 | char2nr("ABC") returns 65 | |
31 | -< The current 'encoding' is used. Example for "utf-8": > | |
32 | +< When {utf8} is omitted or zero, the current 'encoding' is | |
33 | +used. | |
34 | + Example for "utf-8": > | |
35 |