]> git.pld-linux.org Git - packages/vim.git/blob - 7.2.412
- new
[packages/vim.git] / 7.2.412
1 To: vim-dev@vim.org
2 Subject: Patch 7.2.412
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.2.412
11 Problem:    [ or ] followed by mouse click doesn't work.
12 Solution:   Reverse check for key being a mouse event. (Dominique Pelle)
13 Files:      src/normal.c
14
15
16 *** ../vim-7.2.411/src/normal.c 2010-03-17 13:07:01.000000000 +0100
17 --- src/normal.c        2010-05-07 15:46:54.000000000 +0200
18 ***************
19 *** 3196,3202 ****
20        * There are a few special cases where we want certain combinations of
21        * characters to be considered as a single word.  These are things like
22        * "->", "/ *", "*=", "+=", "&=", "<=", ">=", "!=" etc.  Otherwise, each
23 !      * character is in it's own class.
24        */
25       if (c != NUL && vim_strchr((char_u *)"-+*/%<>&|^!=", c) != NULL)
26         return 1;
27 --- 3196,3202 ----
28        * There are a few special cases where we want certain combinations of
29        * characters to be considered as a single word.  These are things like
30        * "->", "/ *", "*=", "+=", "&=", "<=", ">=", "!=" etc.  Otherwise, each
31 !      * character is in its own class.
32        */
33       if (c != NUL && vim_strchr((char_u *)"-+*/%<>&|^!=", c) != NULL)
34         return 1;
35 ***************
36 *** 4085,4091 ****
37   /*
38    * Command character that's ignored.
39    * Used for CTRL-Q and CTRL-S to avoid problems with terminals that use
40 !  * xon/xoff
41    */
42       static void
43   nv_ignore(cap)
44 --- 4085,4091 ----
45   /*
46    * Command character that's ignored.
47    * Used for CTRL-Q and CTRL-S to avoid problems with terminals that use
48 !  * xon/xoff.
49    */
50       static void
51   nv_ignore(cap)
52 ***************
53 *** 6523,6529 ****
54        * [ or ] followed by a middle mouse click: put selected text with
55        * indent adjustment.  Any other button just does as usual.
56        */
57 !     else if (cap->nchar >= K_LEFTMOUSE && cap->nchar <= K_RIGHTRELEASE)
58       {
59         (void)do_mouse(cap->oap, cap->nchar,
60                        (cap->cmdchar == ']') ? FORWARD : BACKWARD,
61 --- 6523,6529 ----
62        * [ or ] followed by a middle mouse click: put selected text with
63        * indent adjustment.  Any other button just does as usual.
64        */
65 !     else if (cap->nchar >= K_RIGHTRELEASE && cap->nchar <= K_LEFTMOUSE)
66       {
67         (void)do_mouse(cap->oap, cap->nchar,
68                        (cap->cmdchar == ']') ? FORWARD : BACKWARD,
69 *** ../vim-7.2.411/src/version.c        2010-03-23 18:22:40.000000000 +0100
70 --- src/version.c       2010-05-07 15:51:35.000000000 +0200
71 ***************
72 *** 683,684 ****
73 --- 683,686 ----
74   {   /* Add new patch number below this line */
75 + /**/
76 +     412,
77   /**/
78
79 -- 
80 I have a drinking problem -- I don't have a drink!
81
82  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
83 ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
84 \\\        download, build and distribute -- http://www.A-A-P.org        ///
85  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
This page took 0.026959 seconds and 3 git commands to generate.