summaryrefslogtreecommitdiff
path: root/source/ap/vim/patches/7.3.574
blob: e23d818f1edb834b587dd14f51e2576460f3fc4d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
To: vim_dev@googlegroups.com
Subject: Patch 7.3.574
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.3.574
Problem:    When pasting a register in the search command line a CTRL-L
	    character is not pasted. (Dominique Pelle)
Solution:   Escape the CTRL-L. (Christian Brabandt)
Files:	    src/ex_getln.c


*** ../vim-7.3.573/src/ex_getln.c	2012-06-06 12:02:57.000000000 +0200
--- src/ex_getln.c	2012-06-29 13:39:03.000000000 +0200
***************
*** 3133,3139 ****
  	    else
  #endif
  		c = *s++;
! 	    if (cv == Ctrl_V || c == ESC || c == Ctrl_C || c == CAR || c == NL
  #ifdef UNIX
  		    || c == intr_char
  #endif
--- 3133,3140 ----
  	    else
  #endif
  		c = *s++;
! 	    if (cv == Ctrl_V || c == ESC || c == Ctrl_C
! 		    || c == CAR || c == NL || c == Ctrl_L
  #ifdef UNIX
  		    || c == intr_char
  #endif
***************
*** 4692,4698 ****
  		if (tab[i].ic)
  		    regmatch.rm_ic = TRUE;
  		ret = ExpandGeneric(xp, &regmatch, num_file, file,
!                                                 tab[i].func, tab[i].escaped);
  		break;
  	    }
      }
--- 4693,4699 ----
  		if (tab[i].ic)
  		    regmatch.rm_ic = TRUE;
  		ret = ExpandGeneric(xp, &regmatch, num_file, file,
! 						tab[i].func, tab[i].escaped);
  		break;
  	    }
      }
***************
*** 5125,5131 ****
  	vim_free(matches);
      }
      if (ga.ga_len == 0)
!         return FAIL;
  
      /* Sort and remove duplicates which can happen when specifying multiple
       * directories in dirnames. */
--- 5126,5132 ----
  	vim_free(matches);
      }
      if (ga.ga_len == 0)
! 	return FAIL;
  
      /* Sort and remove duplicates which can happen when specifying multiple
       * directories in dirnames. */
*** ../vim-7.3.573/src/version.c	2012-06-29 13:34:15.000000000 +0200
--- src/version.c	2012-06-29 13:38:22.000000000 +0200
***************
*** 716,717 ****
--- 716,719 ----
  {   /* Add new patch number below this line */
+ /**/
+     574,
  /**/

-- 
hundred-and-one symptoms of being an internet addict:
73. You give your dog used motherboards instead of bones

 /// 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    ///