Skip to content

Commit 35372a1

Browse files
committed
Merge remote-tracking branch 'vim/master'
2 parents 7767268 + 47707f6 commit 35372a1

24 files changed

+428
-220
lines changed

Filelist

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -703,6 +703,7 @@ EXTRA = \
703703
runtime/vimlogo.xpm \
704704
src/swis.s \
705705
src/tee/Makefile \
706+
src/tee/Make_mvc.mak \
706707
src/tee/tee.c \
707708
csdpmi4b.zip \
708709

runtime/doc/change.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*change.txt* For Vim version 7.4. Last change: 2015 Oct 17
1+
*change.txt* For Vim version 7.4. Last change: 2016 Jan 02
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -438,8 +438,8 @@ This depends on the 'nrformats' option:
438438
index.
439439

440440
For decimals a leading negative sign is considered for incrementing/
441-
decrementing, for octal and hex values, it won't be considered.
442-
To ignore the sign Visually select the number before using CTRL-A or CTRL-X.
441+
decrementing, for binary, octal and hex values, it won't be considered. To
442+
ignore the sign Visually select the number before using CTRL-A or CTRL-X.
443443

444444
For numbers with leading zeros (including all octal and hexadecimal numbers),
445445
Vim preserves the number of characters in the number when possible. CTRL-A on
@@ -1007,7 +1007,7 @@ inside of strings can change! Also see 'softtabstop' option. >
10071007

10081008
:reg[isters] {arg} Display the contents of the numbered and named
10091009
registers that are mentioned in {arg}. For example: >
1010-
:dis 1a
1010+
:reg 1a
10111011
< to display registers '1' and 'a'. Spaces are allowed
10121012
in {arg}. {not in Vi}
10131013

runtime/doc/editing.txt

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*editing.txt* For Vim version 7.4. Last change: 2015 Aug 25
1+
*editing.txt* For Vim version 7.4. Last change: 2016 Jan 03
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -78,7 +78,9 @@ g CTRL-G Prints the current position of the cursor in five
7878
than one position on the screen (<Tab> or special
7979
character), both the "real" column and the screen
8080
column are shown, separated with a dash.
81-
See also 'ruler' option. {not in Vi}
81+
Also see the 'ruler' option and the |wordcount()|
82+
function.
83+
{not in Vi}
8284

8385
*v_g_CTRL-G*
8486
{Visual}g CTRL-G Similar to "g CTRL-G", but Word, Character, Line, and
@@ -1105,7 +1107,7 @@ The names can be in upper- or lowercase.
11051107
the last file in the argument list has not been
11061108
edited. See |:confirm| and 'confirm'. {not in Vi}
11071109

1108-
:q[uit]! Quit without writing, also when currentl buffer has
1110+
:q[uit]! Quit without writing, also when the current buffer has
11091111
changes. If this is the last window and there is a
11101112
modified hidden buffer, the current buffer is
11111113
abandoned and the first changed hidden buffer becomes

runtime/doc/eval.txt

Lines changed: 33 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*eval.txt* For Vim version 7.4. Last change: 2015 Dec 29
1+
*eval.txt* For Vim version 7.4. Last change: 2016 Jan 03
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -68,14 +68,16 @@ the Number. Examples:
6868
Number 0 --> String "0" ~
6969
Number -1 --> String "-1" ~
7070
*octal*
71-
Conversion from a String to a Number is done by converting the first digits
72-
to a number. Hexadecimal "0xf9" and Octal "017" numbers are recognized. If
73-
the String doesn't start with digits, the result is zero. Examples:
71+
Conversion from a String to a Number is done by converting the first digits to
72+
a number. Hexadecimal "0xf9", Octal "017", and Binary "0b10" numbers are
73+
recognized. If the String doesn't start with digits, the result is zero.
74+
Examples:
7475
String "456" --> Number 456 ~
7576
String "6bar" --> Number 6 ~
7677
String "foo" --> Number 0 ~
7778
String "0xf1" --> Number 241 ~
7879
String "0100" --> Number 64 ~
80+
String "0b101" --> Number 5 ~
7981
String "-8" --> Number -8 ~
8082
String "+8" --> Number 0 ~
8183

@@ -2073,6 +2075,7 @@ winrestcmd() String returns command to restore window sizes
20732075
winrestview( {dict}) none restore view of current window
20742076
winsaveview() Dict save view of current window
20752077
winwidth( {nr}) Number width of window {nr}
2078+
wordcount() Dict get byte/char/word statistics
20762079
writefile( {list}, {fname} [, {flags}])
20772080
Number write list of lines to file {fname}
20782081
xor( {expr}, {expr}) Number bitwise XOR
@@ -5955,12 +5958,14 @@ str2float( {expr}) *str2float()*
59555958

59565959
str2nr( {expr} [, {base}]) *str2nr()*
59575960
Convert string {expr} to a number.
5958-
{base} is the conversion base, it can be 8, 10 or 16.
5961+
{base} is the conversion base, it can be 2, 8, 10 or 16.
59595962
When {base} is omitted base 10 is used. This also means that
59605963
a leading zero doesn't cause octal conversion to be used, as
59615964
with the default String to Number conversion.
59625965
When {base} is 16 a leading "0x" or "0X" is ignored. With a
5963-
different base the result will be zero.
5966+
different base the result will be zero. Similarly, when
5967+
{base} is 8 a leading "0" is ignored, and when {base} is 2 a
5968+
leading "0b" or "0B" is ignored.
59645969
Text after the number is silently ignored.
59655970

59665971

@@ -6740,6 +6745,28 @@ winwidth({nr}) *winwidth()*
67406745
: exe "normal 50\<C-W>|"
67416746
:endif
67426747
<
6748+
wordcount() *wordcount()*
6749+
The result is a dictionary of byte/chars/word statistics for
6750+
the current buffer. This is the same info as provided by
6751+
|g_CTRL-G|
6752+
The return value includes:
6753+
bytes Number of bytes in the buffer
6754+
chars Number of chars in the buffer
6755+
words Number of words in the buffer
6756+
cursor_bytes Number of bytes before cursor position
6757+
(not in Visual mode)
6758+
cursor_chars Number of chars before cursor position
6759+
(not in Visual mode)
6760+
cursor_words Number of words before cursor position
6761+
(not in Visual mode)
6762+
visual_bytes Number of bytes visually selected
6763+
(only in Visual mode)
6764+
visual_chars Number of chars visually selected
6765+
(only in Visual mode)
6766+
visual_words Number of chars visually selected
6767+
(only in Visual mode)
6768+
6769+
67436770
*writefile()*
67446771
writefile({list}, {fname} [, {flags}])
67456772
Write |List| {list} to file {fname}. Each list item is

runtime/doc/if_tcl.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*if_tcl.txt* For Vim version 7.4. Last change: 2012 Aug 02
1+
*if_tcl.txt* For Vim version 7.4. Last change: 2016 Jan 01
22

33

44
VIM REFERENCE MANUAL by Ingo Wilken
@@ -526,7 +526,7 @@ To use the Tcl interface the Tcl DLL must be in your search path. In a
526526
console window type "path" to see what directories are used.
527527

528528
The name of the DLL must match the Tcl version Vim was compiled with.
529-
Currently the name is "tcl83.dll". That is for Tcl 8.3. To know for sure
529+
Currently the name is "tcl86.dll". That is for Tcl 8.6. To know for sure
530530
edit "gvim.exe" and search for "tcl\d*.dll\c".
531531

532532
==============================================================================

runtime/doc/index.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*index.txt* For Vim version 7.4. Last change: 2015 Sep 08
1+
*index.txt* For Vim version 7.4. Last change: 2016 Jan 03
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1497,6 +1497,7 @@ tag command action ~
14971497
|:smap| :smap like ":map" but for Select mode
14981498
|:smapclear| :smapc[lear] remove all mappings for Select mode
14991499
|:smenu| :sme[nu] add menu for Select mode
1500+
|:smile| :smi[le] make the user happy
15001501
|:snext| :sn[ext] split window and go to next file in the
15011502
argument list
15021503
|:sniff| :sni[ff] send request to sniff

runtime/doc/options.txt

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*options.txt* For Vim version 7.4. Last change: 2015 Nov 23
1+
*options.txt* For Vim version 7.4. Last change: 2016 Jan 03
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -4713,7 +4713,7 @@ A jump table for the options with a short description can be found at |Q_op|.
47134713
feature}
47144714
This option allows switching your keyboard into a special language
47154715
mode. When you are typing text in Insert mode the characters are
4716-
inserted directly. When in command mode the 'langmap' option takes
4716+
inserted directly. When in Normal mode the 'langmap' option takes
47174717
care of translating these special characters to the original meaning
47184718
of the key. This means you don't have to change the keyboard mode to
47194719
be able to execute Normal mode commands.
@@ -5155,8 +5155,11 @@ A jump table for the options with a short description can be found at |Q_op|.
51555155
{not in Vi}
51565156
Maximum amount of memory in Kbyte to use for all buffers together.
51575157
The maximum usable value is about 2000000 (2 Gbyte). Use this to work
5158-
without a limit. On 64 bit machines higher values might work. But
5159-
hey, do you really need more than 2 Gbyte for text editing?
5158+
without a limit.
5159+
On 64 bit machines higher values might work. But hey, do you really
5160+
need more than 2 Gbyte for text editing? Keep in mind that text is
5161+
stored in the swap file, one can edit files > 2 Gbyte anyay. We do
5162+
need the memory to store undo info.
51605163
Also see 'maxmem'.
51615164

51625165
*'menuitems'* *'mis'*
@@ -6974,7 +6977,8 @@ A jump table for the options with a short description can be found at |Q_op|.
69746977
the two-letter, lower case region name. You can use more than one
69756978
region by listing them: "en_us,en_ca" supports both US and Canadian
69766979
English, but not words specific for Australia, New Zealand or Great
6977-
Britain.
6980+
Britain. (Note: currently en_au and en_nz dictionaries are older than
6981+
en_ca, en_gb and en_us).
69786982
If the name "cjk" is included East Asian characters are excluded from
69796983
spell checking. This is useful when editing text that also has Asian
69806984
words.

runtime/doc/pattern.txt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*pattern.txt* For Vim version 7.4. Last change: 2015 Dec 26
1+
*pattern.txt* For Vim version 7.4. Last change: 2016 Jan 03
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1102,7 +1102,10 @@ x A single character, with no special meaning, matches itself
11021102
plausible pattern for a UNIX filename: "[-./[:alnum:]_~]\+" That is,
11031103
a list of at least one character, each of which is either '-', '.',
11041104
'/', alphabetic, numeric, '_' or '~'.
1105-
These items only work for 8-bit characters.
1105+
These items only work for 8-bit characters, except [:lower:] and
1106+
[:upper:] also work for multi-byte characters when using the new
1107+
regexp engine. In the future these items may work for multi-byte
1108+
characters.
11061109
*/[[=* *[==]*
11071110
- An equivalence class. This means that characters are matched that
11081111
have almost the same meaning, e.g., when ignoring accents. This

runtime/doc/tags

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7553,7 +7553,6 @@ optwin options.txt /*optwin*
75537553
or() eval.txt /*or()*
75547554
oracle ft_sql.txt /*oracle*
75557555
os2 os_os2.txt /*os2*
7556-
os2ansi os_os2.txt /*os2ansi*
75577556
os390 os_390.txt /*os390*
75587557
os_390.txt os_390.txt /*os_390.txt*
75597558
os_amiga.txt os_amiga.txt /*os_amiga.txt*

0 commit comments

Comments
 (0)