Karsten Hopp b87816
To: vim-dev@vim.org
Karsten Hopp b87816
Subject: Patch 7.2.059
Karsten Hopp b87816
Fcc: outbox
Karsten Hopp b87816
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp b87816
Mime-Version: 1.0
Karsten Hopp b87816
Content-Type: text/plain; charset=ISO-8859-1
Karsten Hopp b87816
Content-Transfer-Encoding: 8bit
Karsten Hopp b87816
------------
Karsten Hopp b87816
Karsten Hopp b87816
Patch 7.2.059
Karsten Hopp b87816
Problem:    Diff display is not always updated.
Karsten Hopp b87816
Solution:   Update the display more often.
Karsten Hopp b87816
Files:	    src/diff.c
Karsten Hopp b87816
Karsten Hopp b87816
Karsten Hopp b87816
*** ../vim-7.2.058/src/diff.c	Fri Nov 28 21:26:50 2008
Karsten Hopp b87816
--- src/diff.c	Fri Nov 28 17:23:35 2008
Karsten Hopp b87816
***************
Karsten Hopp b87816
*** 73,78 ****
Karsten Hopp b87816
--- 73,80 ----
Karsten Hopp b87816
  	{
Karsten Hopp b87816
  	    tp->tp_diffbuf[i] = NULL;
Karsten Hopp b87816
  	    tp->tp_diff_invalid = TRUE;
Karsten Hopp b87816
+ 	    if (tp == curtab)
Karsten Hopp b87816
+ 		diff_redraw(TRUE);
Karsten Hopp b87816
  	}
Karsten Hopp b87816
      }
Karsten Hopp b87816
  }
Karsten Hopp b87816
***************
Karsten Hopp b87816
*** 102,107 ****
Karsten Hopp b87816
--- 104,110 ----
Karsten Hopp b87816
  	    {
Karsten Hopp b87816
  		curtab->tp_diffbuf[i] = NULL;
Karsten Hopp b87816
  		curtab->tp_diff_invalid = TRUE;
Karsten Hopp b87816
+ 		diff_redraw(TRUE);
Karsten Hopp b87816
  	    }
Karsten Hopp b87816
  	}
Karsten Hopp b87816
      }
Karsten Hopp b87816
***************
Karsten Hopp b87816
*** 131,136 ****
Karsten Hopp b87816
--- 134,140 ----
Karsten Hopp b87816
  	{
Karsten Hopp b87816
  	    curtab->tp_diffbuf[i] = buf;
Karsten Hopp b87816
  	    curtab->tp_diff_invalid = TRUE;
Karsten Hopp b87816
+ 	    diff_redraw(TRUE);
Karsten Hopp b87816
  	    return;
Karsten Hopp b87816
  	}
Karsten Hopp b87816
  
Karsten Hopp b87816
*** ../vim-7.2.058/src/version.c	Sun Nov 30 12:14:35 2008
Karsten Hopp b87816
--- src/version.c	Sun Nov 30 15:13:18 2008
Karsten Hopp b87816
***************
Karsten Hopp b87816
*** 678,679 ****
Karsten Hopp b87816
--- 678,681 ----
Karsten Hopp b87816
  {   /* Add new patch number below this line */
Karsten Hopp b87816
+ /**/
Karsten Hopp b87816
+     59,
Karsten Hopp b87816
  /**/
Karsten Hopp b87816
Karsten Hopp b87816
-- 
Karsten Hopp b87816
GUARD #2:  Wait a minute -- supposing two swallows carried it together?
Karsten Hopp b87816
GUARD #1:  No, they'd have to have it on a line.
Karsten Hopp b87816
GUARD #2:  Well, simple!  They'd just use a standard creeper!
Karsten Hopp b87816
GUARD #1:  What, held under the dorsal guiding feathers?
Karsten Hopp b87816
GUARD #2:  Well, why not?
Karsten Hopp b87816
                                  The Quest for the Holy Grail (Monty Python)
Karsten Hopp b87816
Karsten Hopp b87816
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp b87816
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp b87816
\\\        download, build and distribute -- http://www.A-A-P.org        ///
Karsten Hopp b87816
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///