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