|
Karsten Hopp |
dce1cb |
To: vim-dev@vim.org
|
|
Karsten Hopp |
dce1cb |
Subject: Patch 7.1.218
|
|
Karsten Hopp |
dce1cb |
Fcc: outbox
|
|
Karsten Hopp |
dce1cb |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
dce1cb |
Mime-Version: 1.0
|
|
Karsten Hopp |
dce1cb |
Content-Type: text/plain; charset=ISO-8859-1
|
|
Karsten Hopp |
dce1cb |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
dce1cb |
------------
|
|
Karsten Hopp |
dce1cb |
|
|
Karsten Hopp |
dce1cb |
Patch 7.1.218
|
|
Karsten Hopp |
dce1cb |
Problem: A syntax region without a "keepend", containing a region with
|
|
Karsten Hopp |
dce1cb |
"extend" could be truncated at the end of the containing region.
|
|
Karsten Hopp |
dce1cb |
Solution: Do not call syn_update_ends() when there are no keepend items.
|
|
Karsten Hopp |
dce1cb |
Files: src/syntax.c
|
|
Karsten Hopp |
dce1cb |
|
|
Karsten Hopp |
dce1cb |
|
|
Karsten Hopp |
dce1cb |
*** ../vim-7.1.217/src/syntax.c Thu Jan 10 22:23:22 2008
|
|
Karsten Hopp |
dce1cb |
--- src/syntax.c Wed Jan 9 15:17:47 2008
|
|
Karsten Hopp |
dce1cb |
***************
|
|
Karsten Hopp |
dce1cb |
*** 2495,2501 ****
|
|
Karsten Hopp |
dce1cb |
if (current_state.ga_len == 0)
|
|
Karsten Hopp |
dce1cb |
break;
|
|
Karsten Hopp |
dce1cb |
|
|
Karsten Hopp |
dce1cb |
! if (had_extend)
|
|
Karsten Hopp |
dce1cb |
{
|
|
Karsten Hopp |
dce1cb |
syn_update_ends(FALSE);
|
|
Karsten Hopp |
dce1cb |
if (current_state.ga_len == 0)
|
|
Karsten Hopp |
dce1cb |
--- 2493,2499 ----
|
|
Karsten Hopp |
dce1cb |
if (current_state.ga_len == 0)
|
|
Karsten Hopp |
dce1cb |
break;
|
|
Karsten Hopp |
dce1cb |
|
|
Karsten Hopp |
dce1cb |
! if (had_extend && keepend_level >= 0)
|
|
Karsten Hopp |
dce1cb |
{
|
|
Karsten Hopp |
dce1cb |
syn_update_ends(FALSE);
|
|
Karsten Hopp |
dce1cb |
if (current_state.ga_len == 0)
|
|
Karsten Hopp |
dce1cb |
*** ../vim-7.1.217/src/version.c Fri Jan 11 21:00:49 2008
|
|
Karsten Hopp |
dce1cb |
--- src/version.c Fri Jan 11 21:25:46 2008
|
|
Karsten Hopp |
dce1cb |
***************
|
|
Karsten Hopp |
dce1cb |
*** 668,669 ****
|
|
Karsten Hopp |
dce1cb |
--- 668,671 ----
|
|
Karsten Hopp |
dce1cb |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
dce1cb |
+ /**/
|
|
Karsten Hopp |
dce1cb |
+ 218,
|
|
Karsten Hopp |
dce1cb |
/**/
|
|
Karsten Hopp |
dce1cb |
|
|
Karsten Hopp |
dce1cb |
--
|
|
Karsten Hopp |
dce1cb |
The Law of VIM:
|
|
Karsten Hopp |
dce1cb |
For each member b of the possible behaviour space B of program P, there exists
|
|
Karsten Hopp |
dce1cb |
a finite time t before which at least one user u in the total user space U of
|
|
Karsten Hopp |
dce1cb |
program P will request b becomes a member of the allowed behaviour space B'
|
|
Karsten Hopp |
dce1cb |
(B' <= B).
|
|
Karsten Hopp |
dce1cb |
In other words: Sooner or later everyone wants everything as an option.
|
|
Karsten Hopp |
dce1cb |
-- Vince Negri
|
|
Karsten Hopp |
dce1cb |
|
|
Karsten Hopp |
dce1cb |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
dce1cb |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
dce1cb |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
Karsten Hopp |
dce1cb |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|