|
Karsten Hopp |
7a0565 |
To: vim-dev@vim.org
|
|
Karsten Hopp |
7a0565 |
Subject: Patch 7.1.144
|
|
Karsten Hopp |
7a0565 |
Fcc: outbox
|
|
Karsten Hopp |
7a0565 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
7a0565 |
Mime-Version: 1.0
|
|
Karsten Hopp |
7a0565 |
Content-Type: text/plain; charset=ISO-8859-1
|
|
Karsten Hopp |
7a0565 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
7a0565 |
------------
|
|
Karsten Hopp |
7a0565 |
|
|
Karsten Hopp |
7a0565 |
Patch 7.1.144
|
|
Karsten Hopp |
7a0565 |
Problem: After ":diffup" cursor can be in the wrong position.
|
|
Karsten Hopp |
7a0565 |
Solution: Force recomputing the cursor position.
|
|
Karsten Hopp |
7a0565 |
Files: src/diff.c
|
|
Karsten Hopp |
7a0565 |
|
|
Karsten Hopp |
7a0565 |
|
|
Karsten Hopp |
7a0565 |
*** ../vim-7.1.143/src/diff.c Fri Oct 19 17:32:58 2007
|
|
Karsten Hopp |
7a0565 |
--- src/diff.c Fri Oct 19 18:54:13 2007
|
|
Karsten Hopp |
7a0565 |
***************
|
|
Karsten Hopp |
7a0565 |
*** 791,796 ****
|
|
Karsten Hopp |
7a0565 |
--- 791,799 ----
|
|
Karsten Hopp |
7a0565 |
}
|
|
Karsten Hopp |
7a0565 |
mch_remove(tmp_orig);
|
|
Karsten Hopp |
7a0565 |
|
|
Karsten Hopp |
7a0565 |
+ /* force updating cursor position on screen */
|
|
Karsten Hopp |
7a0565 |
+ curwin->w_valid_cursor.lnum = 0;
|
|
Karsten Hopp |
7a0565 |
+
|
|
Karsten Hopp |
7a0565 |
diff_redraw(TRUE);
|
|
Karsten Hopp |
7a0565 |
|
|
Karsten Hopp |
7a0565 |
theend:
|
|
Karsten Hopp |
7a0565 |
*** ../vim-7.1.143/src/version.c Fri Oct 19 17:32:58 2007
|
|
Karsten Hopp |
7a0565 |
--- src/version.c Fri Oct 19 18:56:49 2007
|
|
Karsten Hopp |
7a0565 |
***************
|
|
Karsten Hopp |
7a0565 |
*** 668,669 ****
|
|
Karsten Hopp |
7a0565 |
--- 668,671 ----
|
|
Karsten Hopp |
7a0565 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
7a0565 |
+ /**/
|
|
Karsten Hopp |
7a0565 |
+ 144,
|
|
Karsten Hopp |
7a0565 |
/**/
|
|
Karsten Hopp |
7a0565 |
|
|
Karsten Hopp |
7a0565 |
--
|
|
Karsten Hopp |
7a0565 |
He who laughs last, thinks slowest.
|
|
Karsten Hopp |
7a0565 |
|
|
Karsten Hopp |
7a0565 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
7a0565 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
7a0565 |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
Karsten Hopp |
7a0565 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|