]>
Commit | Line | Data |
---|---|---|
8bb52fd3 ER |
1 | To: vim_dev@googlegroups.com |
2 | Subject: Patch 7.3.590 | |
3 | Fcc: outbox | |
4 | From: Bram Moolenaar <Bram@moolenaar.net> | |
5 | Mime-Version: 1.0 | |
6 | Content-Type: text/plain; charset=UTF-8 | |
7 | Content-Transfer-Encoding: 8bit | |
8 | ------------ | |
9 | ||
10 | Patch 7.3.590 | |
11 | Problem: The '< and '> marks cannot be set directly. | |
12 | Solution: Allow setting '< and '>. (Christian Brabandt) | |
13 | Files: src/mark.c | |
14 | ||
15 | ||
16 | *** ../vim-7.3.589/src/mark.c 2011-02-25 15:11:17.000000000 +0100 | |
17 | --- src/mark.c 2012-07-06 17:47:23.000000000 +0200 | |
18 | *************** | |
19 | *** 98,103 **** | |
20 | --- 98,116 ---- | |
21 | return OK; | |
22 | } | |
23 | ||
24 | + #ifdef FEAT_VISUAL | |
25 | + if (c == '<') | |
26 | + { | |
27 | + curbuf->b_visual.vi_start = *pos; | |
28 | + return OK; | |
29 | + } | |
30 | + if (c == '>') | |
31 | + { | |
32 | + curbuf->b_visual.vi_end = *pos; | |
33 | + return OK; | |
34 | + } | |
35 | + #endif | |
36 | + | |
37 | #ifndef EBCDIC | |
38 | if (c > 'z') /* some islower() and isupper() cannot handle | |
39 | characters above 127 */ | |
40 | *** ../vim-7.3.589/src/version.c 2012-07-06 16:49:37.000000000 +0200 | |
41 | --- src/version.c 2012-07-06 17:49:00.000000000 +0200 | |
42 | *************** | |
43 | *** 716,717 **** | |
44 | --- 716,719 ---- | |
45 | { /* Add new patch number below this line */ | |
46 | + /**/ | |
47 | + 590, | |
48 | /**/ | |
49 | ||
50 | -- | |
51 | The primary purpose of the DATA statement is to give names to constants; | |
52 | instead of referring to pi as 3.141592653589793 at every appearance, the | |
53 | variable PI can be given that value with a DATA statement and used instead | |
54 | of the longer form of the constant. This also simplifies modifying the | |
55 | program, should the value of pi change. | |
56 | -- FORTRAN manual for Xerox Computers | |
57 | ||
58 | /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ | |
59 | /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ | |
60 | \\\ an exciting new programming language -- http://www.Zimbu.org /// | |
61 | \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |