]> git.pld-linux.org Git - packages/vim.git/blob - 7.1.297
- new
[packages/vim.git] / 7.1.297
1 To: vim-dev@vim.org
2 Subject: Patch 7.1.297
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.1.297
11 Problem:    When using the search/replace dialog the parenmatch highlighting
12             can be wrong. (Tim Duncan)
13 Solution:   In the GUI redraw function invoke the CursorMoved autocmd.
14 Files:      src/gui.c
15
16
17 *** ../vim-7.1.296/src/gui.c    Wed Feb  6 17:33:19 2008
18 --- src/gui.c   Wed May  7 21:36:58 2008
19 ***************
20 *** 4855,4860 ****
21 --- 4855,4869 ----
22   {
23       update_topline();
24       validate_cursor();
25 + #ifdef FEAT_AUTOCMD
26 +     /* Trigger CursorMoved if the cursor moved. */
27 +     if (!finish_op && has_cursormoved()
28 +           && !equalpos(last_cursormoved, curwin->w_cursor))
29 +     {
30 +       apply_autocmds(EVENT_CURSORMOVED, NULL, NULL, FALSE, curbuf);
31 +       last_cursormoved = curwin->w_cursor;
32 +     }
33 + #endif
34       update_screen(0); /* may need to update the screen */
35       setcursor();
36       out_flush();              /* make sure output has been written */
37 *** ../vim-7.1.296/src/version.c        Wed May  7 19:05:55 2008
38 --- src/version.c       Wed May  7 21:44:28 2008
39 ***************
40 *** 668,669 ****
41 --- 673,676 ----
42   {   /* Add new patch number below this line */
43 + /**/
44 +     297,
45   /**/
46
47 -- 
48 ARTHUR: Did you say shrubberies?
49 ROGER:  Yes.  Shrubberies are my trade.  I am a shrubber.  My name is Roger
50         the Shrubber.  I arrange, design, and sell shrubberies.
51                  "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
52
53  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
54 ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
55 \\\        download, build and distribute -- http://www.A-A-P.org        ///
56  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
This page took 0.056843 seconds and 3 git commands to generate.