0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

updated for version 7.4.565

Problem:    Ranges for arguments, buffers, tabs, etc. are not checked to be
            valid but limited to the maximum.  This can cause the wrong thing
            to happen.
Solution:   Give an error for an invalid value. (Marcin Szamotulski)
            Use windows range for ":wincmd".
This commit is contained in:
Bram Moolenaar
2015-01-07 15:57:17 +01:00
parent 49a6ed8a8a
commit 3ffc79a4a8
9 changed files with 120 additions and 58 deletions

View File

@@ -1574,7 +1574,7 @@ EX(CMD_winsize, "winsize", ex_winsize,
ADDR_LINES),
EX(CMD_wincmd, "wincmd", ex_wincmd,
NEEDARG|WORD1|RANGE|NOTADR,
ADDR_LINES),
ADDR_WINDOWS),
EX(CMD_windo, "windo", ex_listdo,
BANG|NEEDARG|EXTRA|NOTRLCOM,
ADDR_LINES),