|
Karsten Hopp |
10b417 |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
10b417 |
Subject: Patch 7.4.362
|
|
Karsten Hopp |
10b417 |
Fcc: outbox
|
|
Karsten Hopp |
10b417 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
10b417 |
Mime-Version: 1.0
|
|
Karsten Hopp |
10b417 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
10b417 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
10b417 |
------------
|
|
Karsten Hopp |
10b417 |
|
|
Karsten Hopp |
10b417 |
Patch 7.4.362
|
|
Karsten Hopp |
10b417 |
Problem: When matchaddpos() uses a length smaller than the number of bytes
|
|
Karsten Hopp |
10b417 |
in the (last) character the highlight continues until the end of
|
|
Karsten Hopp |
10b417 |
the line.
|
|
Karsten Hopp |
10b417 |
Solution: Change condition from equal to larger-or-equal.
|
|
Karsten Hopp |
10b417 |
Files: src/screen.c
|
|
Karsten Hopp |
10b417 |
|
|
Karsten Hopp |
10b417 |
|
|
Karsten Hopp |
10b417 |
*** ../vim-7.4.361/src/screen.c 2014-07-03 22:54:04.911859458 +0200
|
|
Karsten Hopp |
10b417 |
--- src/screen.c 2014-07-09 20:14:46.611627298 +0200
|
|
Karsten Hopp |
10b417 |
***************
|
|
Karsten Hopp |
10b417 |
*** 3852,3858 ****
|
|
Karsten Hopp |
10b417 |
{
|
|
Karsten Hopp |
10b417 |
shl->attr_cur = shl->attr;
|
|
Karsten Hopp |
10b417 |
}
|
|
Karsten Hopp |
10b417 |
! else if (v == (long)shl->endcol)
|
|
Karsten Hopp |
10b417 |
{
|
|
Karsten Hopp |
10b417 |
shl->attr_cur = 0;
|
|
Karsten Hopp |
10b417 |
next_search_hl(wp, shl, lnum, (colnr_T)v, cur);
|
|
Karsten Hopp |
10b417 |
--- 3852,3858 ----
|
|
Karsten Hopp |
10b417 |
{
|
|
Karsten Hopp |
10b417 |
shl->attr_cur = shl->attr;
|
|
Karsten Hopp |
10b417 |
}
|
|
Karsten Hopp |
10b417 |
! else if (v >= (long)shl->endcol)
|
|
Karsten Hopp |
10b417 |
{
|
|
Karsten Hopp |
10b417 |
shl->attr_cur = 0;
|
|
Karsten Hopp |
10b417 |
next_search_hl(wp, shl, lnum, (colnr_T)v, cur);
|
|
Karsten Hopp |
10b417 |
*** ../vim-7.4.361/src/version.c 2014-07-09 19:58:21.115647328 +0200
|
|
Karsten Hopp |
10b417 |
--- src/version.c 2014-07-09 20:20:14.423620635 +0200
|
|
Karsten Hopp |
10b417 |
***************
|
|
Karsten Hopp |
10b417 |
*** 736,737 ****
|
|
Karsten Hopp |
10b417 |
--- 736,739 ----
|
|
Karsten Hopp |
10b417 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
10b417 |
+ /**/
|
|
Karsten Hopp |
10b417 |
+ 362,
|
|
Karsten Hopp |
10b417 |
/**/
|
|
Karsten Hopp |
10b417 |
|
|
Karsten Hopp |
10b417 |
--
|
|
Karsten Hopp |
10b417 |
Compilation process failed successfully.
|
|
Karsten Hopp |
10b417 |
|
|
Karsten Hopp |
10b417 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
10b417 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
10b417 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
10b417 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|