|
|
22c937 |
To: vim_dev@googlegroups.com
|
|
|
22c937 |
Subject: Patch 7.4.240
|
|
|
22c937 |
Fcc: outbox
|
|
|
22c937 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
|
22c937 |
Mime-Version: 1.0
|
|
|
22c937 |
Content-Type: text/plain; charset=UTF-8
|
|
|
22c937 |
Content-Transfer-Encoding: 8bit
|
|
|
22c937 |
------------
|
|
|
22c937 |
|
|
|
22c937 |
Patch 7.4.240
|
|
|
22c937 |
Problem: ":tjump" shows "\n" as "\\n".
|
|
|
22c937 |
Solution: Skip over "\" that escapes a backslash. (Gary Johnson)
|
|
|
22c937 |
Files: src/tag.c
|
|
|
22c937 |
|
|
|
22c937 |
|
|
|
22c937 |
*** ../vim-7.4.239/src/tag.c 2013-11-28 14:36:24.000000000 +0100
|
|
|
22c937 |
--- src/tag.c 2014-04-02 17:14:27.087731943 +0200
|
|
|
22c937 |
***************
|
|
|
22c937 |
*** 741,748 ****
|
|
|
22c937 |
break;
|
|
|
22c937 |
msg_advance(15);
|
|
|
22c937 |
|
|
|
22c937 |
! /* skip backslash used for escaping command char */
|
|
|
22c937 |
! if (*p == '\\' && *(p + 1) == *tagp.command)
|
|
|
22c937 |
++p;
|
|
|
22c937 |
|
|
|
22c937 |
if (*p == TAB)
|
|
|
22c937 |
--- 741,750 ----
|
|
|
22c937 |
break;
|
|
|
22c937 |
msg_advance(15);
|
|
|
22c937 |
|
|
|
22c937 |
! /* skip backslash used for escaping a command char or
|
|
|
22c937 |
! * a backslash */
|
|
|
22c937 |
! if (*p == '\\' && (*(p + 1) == *tagp.command
|
|
|
22c937 |
! || *(p + 1) == '\\'))
|
|
|
22c937 |
++p;
|
|
|
22c937 |
|
|
|
22c937 |
if (*p == TAB)
|
|
|
22c937 |
*** ../vim-7.4.239/src/version.c 2014-04-02 14:22:00.123874274 +0200
|
|
|
22c937 |
--- src/version.c 2014-04-02 17:15:26.395731128 +0200
|
|
|
22c937 |
***************
|
|
|
22c937 |
*** 736,737 ****
|
|
|
22c937 |
--- 736,739 ----
|
|
|
22c937 |
{ /* Add new patch number below this line */
|
|
|
22c937 |
+ /**/
|
|
|
22c937 |
+ 240,
|
|
|
22c937 |
/**/
|
|
|
22c937 |
|
|
|
22c937 |
--
|
|
|
22c937 |
Anyone who is capable of getting themselves made President should on no
|
|
|
22c937 |
account be allowed to do the job.
|
|
|
22c937 |
-- Douglas Adams, "The Hitchhiker's Guide to the Galaxy"
|
|
|
22c937 |
|
|
|
22c937 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
|
22c937 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
|
22c937 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
|
22c937 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|