summaryrefslogtreecommitdiffstats
path: root/source/ap/vim/patches/7.3.590
blob: 4e524f79b3ad27e808a77d117ad2d04764514a55 (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
To: vim_dev@googlegroups.com
Subject: Patch 7.3.590
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.590
Problem:    The '< and '> marks cannot be set directly.
Solution:   Allow setting '< and '>. (Christian Brabandt)
Files:	    src/mark.c


*** ../vim-7.3.589/src/mark.c	2011-02-25 15:11:17.000000000 +0100
--- src/mark.c	2012-07-06 17:47:23.000000000 +0200
***************
*** 98,103 ****
--- 98,116 ----
  	return OK;
      }
  
+ #ifdef FEAT_VISUAL
+     if (c == '<')
+     {
+ 	curbuf->b_visual.vi_start = *pos;
+ 	return OK;
+     }
+     if (c == '>')
+     {
+ 	curbuf->b_visual.vi_end = *pos;
+ 	return OK;
+     }
+ #endif
+ 
  #ifndef EBCDIC
      if (c > 'z')	    /* some islower() and isupper() cannot handle
  				characters above 127 */
*** ../vim-7.3.589/src/version.c	2012-07-06 16:49:37.000000000 +0200
--- src/version.c	2012-07-06 17:49:00.000000000 +0200
***************
*** 716,717 ****
--- 716,719 ----
  {   /* Add new patch number below this line */
+ /**/
+     590,
  /**/

-- 
The primary purpose of the DATA statement is to give names to constants;
instead of referring to pi as 3.141592653589793 at every appearance, the
variable PI can be given that value with a DATA statement and used instead
of the longer form of the constant.  This also simplifies modifying the
program, should the value of pi change.
	-- FORTRAN manual for Xerox Computers

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