]> git.pld-linux.org Git - packages/vim.git/blob - 7.0.083
- new
[packages/vim.git] / 7.0.083
1 To: vim-dev@vim.org
2 Subject: Patch 7.0.083
3 Fcc: outbox
4 From: Bram Moolenaar <Bram@moolenaar.net>
5 Mime-Version: 1.0
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
8 ------------
9
10 Patch 7.0.083
11 Problem:    Clicking with the mouse on an item for inputlist() doesn't work
12             when 'compatible' is set and/or when 'cmdheight' is more than one.
13             (Christian J.  Robinson)
14 Solution:   Also decrement "lines_left" when 'more' isn't set.  Set
15             "cmdline_row" to zero to get all mouse events.
16 Files:      src/message.c, src/misc1.c
17
18
19 *** ../vim-7.0.082/src/message.c        Sat May 13 13:12:49 2006
20 --- src/message.c       Sun Sep  3 14:32:00 2006
21 ***************
22 *** 1925,1931 ****
23              * If screen is completely filled and 'more' is set then wait
24              * for a character.
25              */
26 !           if (p_more && --lines_left == 0 && State != HITRETURN
27                                             && !msg_no_more && !exmode_active)
28             {
29   #ifdef FEAT_CON_DIALOG
30 --- 1925,1932 ----
31              * If screen is completely filled and 'more' is set then wait
32              * for a character.
33              */
34 !           --lines_left;
35 !           if (p_more && lines_left == 0 && State != HITRETURN
36                                             && !msg_no_more && !exmode_active)
37             {
38   #ifdef FEAT_CON_DIALOG
39 *** ../vim-7.0.082/src/misc1.c  Tue Aug 15 22:26:04 2006
40 --- src/misc1.c Sun Sep  3 16:33:48 2006
41 ***************
42 *** 3196,3209 ****
43       else
44         MSG_PUTS(_("Choice number (<Enter> cancels): "));
45   
46 !     /* Set the state such that text can be selected/copied/pasted. */
47       save_cmdline_row = cmdline_row;
48 !     cmdline_row = Rows - 1;
49       save_State = State;
50 !     if (mouse_used == NULL)
51 !       State = CMDLINE;
52 !     else
53 !       State = NORMAL;
54   
55       i = get_number(TRUE, mouse_used);
56       if (KeyTyped)
57 --- 3196,3207 ----
58       else
59         MSG_PUTS(_("Choice number (<Enter> cancels): "));
60   
61 !     /* Set the state such that text can be selected/copied/pasted and we still
62 !      * get mouse events. */
63       save_cmdline_row = cmdline_row;
64 !     cmdline_row = 0;
65       save_State = State;
66 !     State = CMDLINE;
67   
68       i = get_number(TRUE, mouse_used);
69       if (KeyTyped)
70 *** ../vim-7.0.082/src/version.c        Sun Sep  3 15:38:02 2006
71 --- src/version.c       Sun Sep  3 16:36:58 2006
72 ***************
73 *** 668,669 ****
74 --- 668,671 ----
75   {   /* Add new patch number below this line */
76 + /**/
77 +     83,
78   /**/
79
80 -- 
81        "To whoever finds this note -
82        I have been imprisoned by my father who wishes me to marry
83        against my will.  Please please please please come and rescue me.
84        I am in the tall tower of Swamp Castle."
85    SIR LAUNCELOT's eyes light up with holy inspiration.
86                  "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
87
88  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
89 ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
90 \\\        download, build and distribute -- http://www.A-A-P.org        ///
91  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
This page took 0.029809 seconds and 3 git commands to generate.