| To: vim_dev@googlegroups.com |
| Subject: Patch 7.4.568 |
| Fcc: outbox |
| From: Bram Moolenaar <Bram@moolenaar.net> |
| Mime-Version: 1.0 |
| Content-Type: text/plain; charset=UTF-8 |
| Content-Transfer-Encoding: 8bit |
| |
| |
| Patch 7.4.568 |
| Problem: Giving an error for ":0wincmd w" is a problem for some plugins. |
| Solution: Allow the zero in the range. (Marcin Szamotulski) |
| Files: src/ex_docmd.c, src/testdir/test_command_count.ok |
| |
| |
| |
| |
| |
| *** 4686,4693 **** |
| return (char_u *)_(e_invrange); |
| break; |
| case ADDR_WINDOWS: |
| ! if (eap->line1 < 1 |
| ! || eap->line2 > LAST_WIN_NR) |
| return (char_u *)_(e_invrange); |
| break; |
| case ADDR_TABS: |
| --- 4686,4692 ---- |
| return (char_u *)_(e_invrange); |
| break; |
| case ADDR_WINDOWS: |
| ! if (eap->line2 > LAST_WIN_NR) |
| return (char_u *)_(e_invrange); |
| break; |
| case ADDR_TABS: |
| |
| |
| |
| *** 21,28 **** |
| 4argu d |
| 1argu a |
| 100b E16: Invalid range |
| ! 0close E16: Invalid range |
| ! $close 4 |
| $+close E16: Invalid range |
| $tabe 2 |
| $+tabe E16: Invalid range |
| --- 21,28 ---- |
| 4argu d |
| 1argu a |
| 100b E16: Invalid range |
| ! 0close |
| ! $close 3 |
| $+close E16: Invalid range |
| $tabe 2 |
| $+tabe E16: Invalid range |
| |
| |
| |
| *** 743,744 **** |
| --- 743,746 ---- |
| { /* Add new patch number below this line */ |
| + /**/ |
| + 568, |
| /**/ |
| |
| -- |
| ASCII stupid question, get a stupid ANSI. |
| |
| /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ |
| /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ |
| \\\ an exciting new programming language -- http://www.Zimbu.org /// |
| \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |