comparison runtime/doc/eval.txt @ 15878:314694a2e74a

Update runtime files. commit https://github.com/vim/vim/commit/4c92e75dd4ddb68dd92a86dd02d53c70dd4af33a Author: Bram Moolenaar <Bram@vim.org> Date: Sun Feb 17 21:18:32 2019 +0100 Update runtime files.
author Bram Moolenaar <Bram@vim.org>
date Sun, 17 Feb 2019 21:30:08 +0100
parents 05d836c8f1c4
children c3c1abe7aff2
comparison
equal deleted inserted replaced
15877:904e9bd83419 15878:314694a2e74a
1 *eval.txt* For Vim version 8.1. Last change: 2019 Feb 03 1 *eval.txt* For Vim version 8.1. Last change: 2019 Feb 16
2 2
3 3
4 VIM REFERENCE MANUAL by Bram Moolenaar 4 VIM REFERENCE MANUAL by Bram Moolenaar
5 5
6 6
5536 UTF-8 and use: > 5536 UTF-8 and use: >
5537 echo iconv(utf8_str, "utf-8", &enc) 5537 echo iconv(utf8_str, "utf-8", &enc)
5538 < Note that Vim uses UTF-8 for all Unicode encodings, conversion 5538 < Note that Vim uses UTF-8 for all Unicode encodings, conversion
5539 from/to UCS-2 is automatically changed to use UTF-8. You 5539 from/to UCS-2 is automatically changed to use UTF-8. You
5540 cannot use UCS-2 in a string anyway, because of the NUL bytes. 5540 cannot use UCS-2 in a string anyway, because of the NUL bytes.
5541 {only available when compiled with the |+multi_byte| feature}
5542 5541
5543 *indent()* 5542 *indent()*
5544 indent({lnum}) The result is a Number, which is indent of line {lnum} in the 5543 indent({lnum}) The result is a Number, which is indent of line {lnum} in the
5545 current buffer. The indent is counted in spaces, the value 5544 current buffer. The indent is counted in spaces, the value
5546 of 'tabstop' is relevant. {lnum} is used just like in 5545 of 'tabstop' is relevant. {lnum} is used just like in
6814 automatically converted to text with the same format 6813 automatically converted to text with the same format
6815 as ":echo". 6814 as ":echo".
6816 *printf-S* 6815 *printf-S*
6817 S The text of the String argument is used. If a 6816 S The text of the String argument is used. If a
6818 precision is specified, no more display cells than the 6817 precision is specified, no more display cells than the
6819 number specified are used. Without the |+multi_byte| 6818 number specified are used.
6820 feature works just like 's'.
6821 6819
6822 *printf-f* *E807* 6820 *printf-f* *E807*
6823 f F The Float argument is converted into a string of the 6821 f F The Float argument is converted into a string of the
6824 form 123.456. The precision specifies the number of 6822 form 123.456. The precision specifies the number of
6825 digits after the decimal point. When the precision is 6823 digits after the decimal point. When the precision is
8609 strcharpart('abc', -1, 2) 8607 strcharpart('abc', -1, 2)
8610 < results in 'a'. 8608 < results in 'a'.
8611 8609
8612 strdisplaywidth({expr} [, {col}]) *strdisplaywidth()* 8610 strdisplaywidth({expr} [, {col}]) *strdisplaywidth()*
8613 The result is a Number, which is the number of display cells 8611 The result is a Number, which is the number of display cells
8614 String {expr} occupies on the screen when it starts at {col}. 8612 String {expr} occupies on the screen when it starts at {col}
8615 When {col} is omitted zero is used. Otherwise it is the 8613 (first column is zero). When {col} is omitted zero is used.
8616 screen column where to start. This matters for Tab 8614 Otherwise it is the screen column where to start. This
8617 characters. 8615 matters for Tab characters.
8618 The option settings of the current window are used. This 8616 The option settings of the current window are used. This
8619 matters for anything that's displayed differently, such as 8617 matters for anything that's displayed differently, such as
8620 'tabstop' and 'display'. 8618 'tabstop' and 'display'.
8621 When {expr} contains characters with East Asian Width Class 8619 When {expr} contains characters with East Asian Width Class
8622 Ambiguous, this function's return value depends on 'ambiwidth'. 8620 Ambiguous, this function's return value depends on 'ambiwidth'.
10270 mouse_sysmouse Compiled with support for sysmouse (*BSD console mouse) 10268 mouse_sysmouse Compiled with support for sysmouse (*BSD console mouse)
10271 mouse_sgr Compiled with support for sgr mouse. 10269 mouse_sgr Compiled with support for sgr mouse.
10272 mouse_urxvt Compiled with support for urxvt mouse. 10270 mouse_urxvt Compiled with support for urxvt mouse.
10273 mouse_xterm Compiled with support for xterm mouse. 10271 mouse_xterm Compiled with support for xterm mouse.
10274 mouseshape Compiled with support for 'mouseshape'. 10272 mouseshape Compiled with support for 'mouseshape'.
10275 multi_byte Compiled with support for 'encoding' 10273 multi_byte Compiled with support for 'encoding' (always true)
10276 multi_byte_encoding 'encoding' is set to a multi-byte encoding. 10274 multi_byte_encoding 'encoding' is set to a multi-byte encoding.
10277 multi_byte_ime Compiled with support for IME input method. 10275 multi_byte_ime Compiled with support for IME input method.
10278 multi_lang Compiled with support for multiple languages. 10276 multi_lang Compiled with support for multiple languages.
10279 mzscheme Compiled with MzScheme interface |mzscheme|. 10277 mzscheme Compiled with MzScheme interface |mzscheme|.
10280 netbeans_enabled Compiled with support for |netbeans| and connected. 10278 netbeans_enabled Compiled with support for |netbeans| and connected.