|
Karsten Hopp |
1661f5 |
To: vim-dev@vim.org
|
|
Karsten Hopp |
1661f5 |
Subject: Patch 7.1.157
|
|
Karsten Hopp |
1661f5 |
Fcc: outbox
|
|
Karsten Hopp |
1661f5 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
1661f5 |
Mime-Version: 1.0
|
|
Karsten Hopp |
1661f5 |
Content-Type: text/plain; charset=ISO-8859-1
|
|
Karsten Hopp |
1661f5 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
1661f5 |
------------
|
|
Karsten Hopp |
1661f5 |
|
|
Karsten Hopp |
1661f5 |
Patch 7.1.157
|
|
Karsten Hopp |
1661f5 |
Problem: In Ex mode, :" gives an error at end-of-file. (Michael Hordijk)
|
|
Karsten Hopp |
1661f5 |
Solution: Only give an error for an empty line, not for a comment.
|
|
Karsten Hopp |
1661f5 |
Files: src/ex_docmd.c
|
|
Karsten Hopp |
1661f5 |
|
|
Karsten Hopp |
1661f5 |
|
|
Karsten Hopp |
1661f5 |
*** ../vim-7.1.156/src/ex_docmd.c Sun Nov 11 19:16:44 2007
|
|
Karsten Hopp |
1661f5 |
--- src/ex_docmd.c Sat Nov 17 20:23:38 2007
|
|
Karsten Hopp |
1661f5 |
***************
|
|
Karsten Hopp |
1661f5 |
*** 1741,1747 ****
|
|
Karsten Hopp |
1661f5 |
}
|
|
Karsten Hopp |
1661f5 |
|
|
Karsten Hopp |
1661f5 |
/* ignore comment and empty lines */
|
|
Karsten Hopp |
1661f5 |
! if (*ea.cmd == '"' || *ea.cmd == NUL)
|
|
Karsten Hopp |
1661f5 |
{
|
|
Karsten Hopp |
1661f5 |
ex_pressedreturn = TRUE;
|
|
Karsten Hopp |
1661f5 |
goto doend;
|
|
Karsten Hopp |
1661f5 |
--- 1741,1749 ----
|
|
Karsten Hopp |
1661f5 |
}
|
|
Karsten Hopp |
1661f5 |
|
|
Karsten Hopp |
1661f5 |
/* ignore comment and empty lines */
|
|
Karsten Hopp |
1661f5 |
! if (*ea.cmd == '"')
|
|
Karsten Hopp |
1661f5 |
! goto doend;
|
|
Karsten Hopp |
1661f5 |
! if (*ea.cmd == NUL)
|
|
Karsten Hopp |
1661f5 |
{
|
|
Karsten Hopp |
1661f5 |
ex_pressedreturn = TRUE;
|
|
Karsten Hopp |
1661f5 |
goto doend;
|
|
Karsten Hopp |
1661f5 |
*** ../vim-7.1.156/src/version.c Sun Nov 11 19:16:44 2007
|
|
Karsten Hopp |
1661f5 |
--- src/version.c Tue Nov 20 12:28:22 2007
|
|
Karsten Hopp |
1661f5 |
***************
|
|
Karsten Hopp |
1661f5 |
*** 668,669 ****
|
|
Karsten Hopp |
1661f5 |
--- 668,671 ----
|
|
Karsten Hopp |
1661f5 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
1661f5 |
+ /**/
|
|
Karsten Hopp |
1661f5 |
+ 157,
|
|
Karsten Hopp |
1661f5 |
/**/
|
|
Karsten Hopp |
1661f5 |
|
|
Karsten Hopp |
1661f5 |
--
|
|
Karsten Hopp |
1661f5 |
hundred-and-one symptoms of being an internet addict:
|
|
Karsten Hopp |
1661f5 |
119. You are reading a book and look for the scroll bar to get to
|
|
Karsten Hopp |
1661f5 |
the next page.
|
|
Karsten Hopp |
1661f5 |
|
|
Karsten Hopp |
1661f5 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
1661f5 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
1661f5 |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
Karsten Hopp |
1661f5 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|