4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
11 Problem: A syntax region without a "keepend", containing a region with
12 "extend" could be truncated at the end of the containing region.
13 Solution: Do not call syn_update_ends() when there are no keepend items.
17 *** ../vim-7.1.217/src/syntax.c Thu Jan 10 22:23:22 2008
18 --- src/syntax.c Wed Jan 9 15:17:47 2008
21 if (current_state.ga_len == 0)
26 syn_update_ends(FALSE);
27 if (current_state.ga_len == 0)
29 if (current_state.ga_len == 0)
32 ! if (had_extend && keepend_level >= 0)
34 syn_update_ends(FALSE);
35 if (current_state.ga_len == 0)
36 *** ../vim-7.1.217/src/version.c Fri Jan 11 21:00:49 2008
37 --- src/version.c Fri Jan 11 21:25:46 2008
41 { /* Add new patch number below this line */
48 For each member b of the possible behaviour space B of program P, there exists
49 a finite time t before which at least one user u in the total user space U of
50 program P will request b becomes a member of the allowed behaviour space B'
52 In other words: Sooner or later everyone wants everything as an option.
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 ///