vim-patch: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".

https://code.google.com/p/vim/source/detail?r=v7-4-565
This commit is contained in:
Felipe Morales
2015-01-20 00:28:37 -03:00
parent d2ad709a1e
commit ca883df007
9 changed files with 122 additions and 53 deletions

View File

@@ -17,3 +17,14 @@ RangeTabsAll 1 5
RangeLines 2 5
LocalRangeLines 2 5
5argu E16: Invalid range
4argu d
1argu a
100b E16: Invalid range
0close E16: Invalid range
$close 4
$+close E16: Invalid range
$tabe 2
$+tabe E16: Invalid range
0tabm x