summaryrefslogtreecommitdiffstats
path: root/source/ap/vim/patches/7.3.645
blob: 40d8ee0b88472dc92aaf247ee04d7275723c5d39 (plain) (blame)
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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
To: vim_dev@googlegroups.com
Subject: Patch 7.3.645
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.645
Problem:    No tests for patch 7.3.625 and 7.3.637.
Solution:   Add more tests for the "gn" command and try/catch. (Christian
	    Brabandt)
Files:	    src/testdir/test53.in, src/testdir/test53.ok,
	    src/testdir/test55.in, src/testdir/test55.ok


*** ../vim-7.3.644/src/testdir/test53.in	2012-07-25 15:06:20.000000000 +0200
--- src/testdir/test53.in	2012-08-29 16:37:44.000000000 +0200
***************
*** 34,40 ****
  gnd
  /[a]bcdx
  :1
! 2gnd
  :/^start:/,/^end:/wq! test.out
  ENDTEST
  
--- 34,46 ----
  gnd
  /[a]bcdx
  :1
! 2gnd/join
! /$
! 0gnd
! /\>\zs
! 0gnd/^
! gnd$h/\zs
! gnd
  :/^start:/,/^end:/wq! test.out
  ENDTEST
  
***************
*** 57,60 ****
--- 63,70 ----
  one
  two
  abcdx | abcdx | abcdx
+ join 
+ lines
+ zero width pattern
+ delete first and last chars
  end:
*** ../vim-7.3.644/src/testdir/test53.ok	2012-07-25 15:06:20.000000000 +0200
--- src/testdir/test53.ok	2012-08-29 16:37:48.000000000 +0200
***************
*** 21,24 ****
--- 21,27 ----
  SEARCH:
  searchmatch
  abcdx |  | abcdx
+ join lines
+ zerowidth pattern
+ elete first and last char
  end:
*** ../vim-7.3.644/src/testdir/test55.in	2012-05-18 12:06:58.000000000 +0200
--- src/testdir/test55.in	2012-08-29 16:50:51.000000000 +0200
***************
*** 378,383 ****
--- 378,393 ----
  :unlet dict
  :call garbagecollect(1)
  :"
+ :" test for patch 7.3.637
+ :let a = 'No error caught'
+ :try|foldopen|catch|let a = matchstr(v:exception,'^[^ ]*')|endtry
+ o=a
:"
+ :lang C
+ :redir => a
+ :try|foobar|catch|let a = matchstr(v:exception,'^[^ ]*')|endtry
+ :redir END
+ o=a
:"
+ :"
  :/^start:/,$wq! test.out
  ENDTEST
  
*** ../vim-7.3.644/src/testdir/test55.ok	2012-05-18 12:06:58.000000000 +0200
--- src/testdir/test55.ok	2012-08-29 16:51:15.000000000 +0200
***************
*** 115,117 ****
--- 115,123 ----
  {'a': {'b': 'B'}}
  Vim(call):E737: a
  {'a': {'b': 'B'}}
+ Vim(foldopen):E490:
+ 
+ 
+ Error detected while processing :
+ E492: Not an editor command: foobar|catch|let a = matchstr(v:exception,'^[^ ]*')|endtry
+ 
*** ../vim-7.3.644/src/version.c	2012-08-29 16:34:23.000000000 +0200
--- src/version.c	2012-08-29 16:37:20.000000000 +0200
***************
*** 721,722 ****
--- 721,724 ----
  {   /* Add new patch number below this line */
+ /**/
+     645,
  /**/

-- 
TALL KNIGHT OF NI: Ni!
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

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