components/vim/vim72-patches/7.2.059
author Danek Duvall <danek.duvall@oracle.com>
Thu, 07 Apr 2011 16:25:07 -0700
changeset 198 172fc01ce997
permissions -rw-r--r--
7016732 move vim from sfw to userland 7036367 vim is too big

To: [email protected]
Subject: Patch 7.2.059
Fcc: outbox
From: Bram Moolenaar <[email protected]>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
------------

Patch 7.2.059
Problem:    Diff display is not always updated.
Solution:   Update the display more often.
Files:	    src/diff.c


*** ../vim-7.2.058/src/diff.c	Fri Nov 28 21:26:50 2008
--- src/diff.c	Fri Nov 28 17:23:35 2008
***************
*** 73,78 ****
--- 73,80 ----
  	{
  	    tp->tp_diffbuf[i] = NULL;
  	    tp->tp_diff_invalid = TRUE;
+ 	    if (tp == curtab)
+ 		diff_redraw(TRUE);
  	}
      }
  }
***************
*** 102,107 ****
--- 104,110 ----
  	    {
  		curtab->tp_diffbuf[i] = NULL;
  		curtab->tp_diff_invalid = TRUE;
+ 		diff_redraw(TRUE);
  	    }
  	}
      }
***************
*** 131,136 ****
--- 134,140 ----
  	{
  	    curtab->tp_diffbuf[i] = buf;
  	    curtab->tp_diff_invalid = TRUE;
+ 	    diff_redraw(TRUE);
  	    return;
  	}
  
*** ../vim-7.2.058/src/version.c	Sun Nov 30 12:14:35 2008
--- src/version.c	Sun Nov 30 15:13:18 2008
***************
*** 678,679 ****
--- 678,681 ----
  {   /* Add new patch number below this line */
+ /**/
+     59,
  /**/

-- 
GUARD #2:  Wait a minute -- supposing two swallows carried it together?
GUARD #1:  No, they'd have to have it on a line.
GUARD #2:  Well, simple!  They'd just use a standard creeper!
GUARD #1:  What, held under the dorsal guiding feathers?
GUARD #2:  Well, why not?
                                  The Quest for the Holy Grail (Monty Python)

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///