]> git.pld-linux.org Git - packages/vim.git/blame - 7.1.221
- updated to 0.7.5
[packages/vim.git] / 7.1.221
CommitLineData
d57b4abe
ER
1To: vim-dev@vim.org
2Subject: Patch 7.1.221
3Fcc: outbox
4From: Bram Moolenaar <Bram@moolenaar.net>
5Mime-Version: 1.0
6Content-Type: text/plain; charset=ISO-8859-1
7Content-Transfer-Encoding: 8bit
8------------
9
10Patch 7.1.221
11Problem: When inserting a "(", triggering the matchparen plugin, the
12 following highlighting may be messed up.
13Solution: Before triggering the CursorMovedI autocommands update the display
14 to update the stored syntax stacks for the change.
15Files: src/edit.c
16
17
18*** ../vim-7.1.220/src/edit.c Wed Jan 9 10:13:24 2008
19--- src/edit.c Sat Jan 12 16:07:41 2008
20***************
21*** 1455,1460 ****
22--- 1455,1468 ----
23 # endif
24 )
25 {
26+ # ifdef FEAT_SYN_HL
27+ /* Need to update the screen first, to make sure syntax
28+ * highlighting is correct after making a change (e.g., inserting
29+ * a "(". The autocommand may also require a redraw, so it's done
30+ * again below, unfortunately. */
31+ if (syntax_present(curbuf) && must_redraw)
32+ update_screen(0);
33+ # endif
34 apply_autocmds(EVENT_CURSORMOVEDI, NULL, NULL, FALSE, curbuf);
35 last_cursormoved = curwin->w_cursor;
36 }
37*** ../vim-7.1.220/src/version.c Sat Jan 12 17:11:25 2008
38--- src/version.c Sat Jan 12 18:11:22 2008
39***************
40*** 668,669 ****
41--- 668,671 ----
42 { /* Add new patch number below this line */
43+ /**/
44+ 221,
45 /**/
46
47--
48ROBIN: The what?
49ARTHUR: The Holy Hand Grenade of Antioch. 'Tis one of the sacred relics
50 Brother Maynard always carries with him.
51ALL: Yes. Of course.
52ARTHUR: (shouting) Bring up the Holy Hand Grenade!
53 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
54
55 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
56/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
57\\\ download, build and distribute -- http://www.A-A-P.org ///
58 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///
This page took 0.030385 seconds and 4 git commands to generate.