home *** CD-ROM | disk | FTP | other *** search
- To: vim-dev@vim.org
- Subject: Patch 6.1.186
- Fcc: outbox
- From: Bram Moolenaar <Bram@moolenaar.net>
- Mime-Version: 1.0
- Content-Type: text/plain; charset=ISO-8859-1
- Content-Transfer-Encoding: 8bit
- ------------
-
- Patch 6.1.186 (depends on 6.1.177)
- Problem: ":wincmd" does not allow a following comment. (Aric Blumer)
- Solution: Check for a following double quote.
- Files: src/ex_docmd.c
-
-
- *** ../vim61.185/src/ex_docmd.c Sat Sep 14 17:05:26 2002
- --- src/ex_docmd.c Tue Sep 17 18:36:40 2002
- ***************
- *** 6171,6177 ****
- exarg_T *eap;
- {
- int xchar = NUL;
- ! int n;
-
- if (*eap->arg == 'g' || *eap->arg == Ctrl_G)
- {
- --- 6171,6177 ----
- exarg_T *eap;
- {
- int xchar = NUL;
- ! char_u *p;
-
- if (*eap->arg == 'g' || *eap->arg == Ctrl_G)
- {
- ***************
- *** 6182,6194 ****
- return;
- }
- xchar = eap->arg[1];
- ! n = 2;
- }
- else
- ! n = 1;
-
- ! eap->nextcmd = check_nextcmd(eap->arg + n);
- ! if (*skipwhite(eap->arg + n) != NUL && eap->nextcmd == NULL)
- EMSG(_(e_invarg));
- else
- do_window(*eap->arg, eap->addr_count > 0 ? eap->line2 : 0L, xchar);
- --- 6182,6195 ----
- return;
- }
- xchar = eap->arg[1];
- ! p = eap->arg + 2;
- }
- else
- ! p = eap->arg + 1;
-
- ! eap->nextcmd = check_nextcmd(p);
- ! p = skipwhite(p);
- ! if (*p != NUL && *p != '"' && eap->nextcmd == NULL)
- EMSG(_(e_invarg));
- else
- do_window(*eap->arg, eap->addr_count > 0 ? eap->line2 : 0L, xchar);
- *** ../vim61.185/src/version.c Tue Sep 17 21:19:42 2002
- --- src/version.c Tue Sep 17 21:34:54 2002
- ***************
- *** 608,609 ****
- --- 608,611 ----
- { /* Add new patch number below this line */
- + /**/
- + 186,
- /**/
-
- --
- For society, it's probably a good thing that engineers value function over
- appearance. For example, you wouldn't want engineers to build nuclear power
- plants that only _look_ like they would keep all the radiation inside.
- (Scott Adams - The Dilbert principle)
-
- /// Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net \\\
- /// Creator of Vim - Vi IMproved -- http://www.vim.org \\\
- \\\ Project leader for A-A-P -- http://www.a-a-p.org ///
- \\\ Lord Of The Rings helps Uganda - http://iccf-holland.org/lotr.html ///
-