|
Karsten Hopp |
75999d |
To: vim-dev@vim.org
|
|
Karsten Hopp |
75999d |
Subject: patch 7.1.009
|
|
Karsten Hopp |
75999d |
Fcc: outbox
|
|
Karsten Hopp |
75999d |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
75999d |
Mime-Version: 1.0
|
|
Karsten Hopp |
75999d |
Content-Type: text/plain; charset=ISO-8859-1
|
|
Karsten Hopp |
75999d |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
75999d |
------------
|
|
Karsten Hopp |
75999d |
|
|
Karsten Hopp |
75999d |
Patch 7.1.009
|
|
Karsten Hopp |
75999d |
Problem: In diff mode, displaying the difference between a tab and spaces
|
|
Karsten Hopp |
75999d |
is not highlighted correctly.
|
|
Karsten Hopp |
75999d |
Solution: Only change highlighting at the end of displaying a tab.
|
|
Karsten Hopp |
75999d |
Files: src/screen.c
|
|
Karsten Hopp |
75999d |
|
|
Karsten Hopp |
75999d |
|
|
Karsten Hopp |
75999d |
*** ../vim-7.1.008/src/screen.c Thu May 10 20:15:31 2007
|
|
Karsten Hopp |
75999d |
--- src/screen.c Mon Jun 11 21:49:44 2007
|
|
Karsten Hopp |
75999d |
***************
|
|
Karsten Hopp |
75999d |
*** 3459,3467 ****
|
|
Karsten Hopp |
75999d |
#ifdef FEAT_DIFF
|
|
Karsten Hopp |
75999d |
if (diff_hlf != (hlf_T)0)
|
|
Karsten Hopp |
75999d |
{
|
|
Karsten Hopp |
75999d |
! if (diff_hlf == HLF_CHD && ptr - line >= change_start)
|
|
Karsten Hopp |
75999d |
diff_hlf = HLF_TXD; /* changed text */
|
|
Karsten Hopp |
75999d |
! if (diff_hlf == HLF_TXD && ptr - line > change_end)
|
|
Karsten Hopp |
75999d |
diff_hlf = HLF_CHD; /* changed line */
|
|
Karsten Hopp |
75999d |
line_attr = hl_attr(diff_hlf);
|
|
Karsten Hopp |
75999d |
}
|
|
Karsten Hopp |
75999d |
--- 3459,3469 ----
|
|
Karsten Hopp |
75999d |
#ifdef FEAT_DIFF
|
|
Karsten Hopp |
75999d |
if (diff_hlf != (hlf_T)0)
|
|
Karsten Hopp |
75999d |
{
|
|
Karsten Hopp |
75999d |
! if (diff_hlf == HLF_CHD && ptr - line >= change_start
|
|
Karsten Hopp |
75999d |
! && n_extra == 0)
|
|
Karsten Hopp |
75999d |
diff_hlf = HLF_TXD; /* changed text */
|
|
Karsten Hopp |
75999d |
! if (diff_hlf == HLF_TXD && ptr - line > change_end
|
|
Karsten Hopp |
75999d |
! && n_extra == 0)
|
|
Karsten Hopp |
75999d |
diff_hlf = HLF_CHD; /* changed line */
|
|
Karsten Hopp |
75999d |
line_attr = hl_attr(diff_hlf);
|
|
Karsten Hopp |
75999d |
}
|
|
Karsten Hopp |
75999d |
*** ../vim-7.1.008/src/version.c Tue Jun 19 17:33:52 2007
|
|
Karsten Hopp |
75999d |
--- src/version.c Tue Jun 19 17:36:36 2007
|
|
Karsten Hopp |
75999d |
***************
|
|
Karsten Hopp |
75999d |
*** 668,669 ****
|
|
Karsten Hopp |
75999d |
--- 668,671 ----
|
|
Karsten Hopp |
75999d |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
75999d |
+ /**/
|
|
Karsten Hopp |
75999d |
+ 9,
|
|
Karsten Hopp |
75999d |
/**/
|
|
Karsten Hopp |
75999d |
|
|
Karsten Hopp |
75999d |
--
|
|
Karsten Hopp |
75999d |
Linux is just like a wigwam: no Windows, no Gates and an Apache inside.
|
|
Karsten Hopp |
75999d |
|
|
Karsten Hopp |
75999d |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
75999d |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
75999d |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
Karsten Hopp |
75999d |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|