Patch 7.1.144
Problem: After ":diffup" cursor can be in the wrong position.
Solution: Force recomputing the cursor position.
Files: src/diff.c
*** ../vim-7.1.143/src/diff.c Fri Oct 19 17:32:58 2007
--- src/diff.c Fri Oct 19 18:54:13 2007
***************
*** 791,796 ****
--- 791,799 ----
}
mch_remove(tmp_orig);
+ /* force updating cursor position on screen */
+ curwin->w_valid_cursor.lnum = 0;
+
diff_redraw(TRUE);
theend:
*** ../vim-7.1.143/src/version.c Fri Oct 19 17:32:58 2007
--- src/version.c Fri Oct 19 18:56:49 2007
***************
*** 668,669 ****
--- 668,671 ----
{ /* Add new patch number below this line */
+ /**/
+ 144,
/**/
--
He who laughs last, thinks slowest.
/// 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 ///
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---