|
|
3ef2ca |
To: vim_dev@googlegroups.com
|
|
|
3ef2ca |
Subject: Patch 7.4.329
|
|
|
3ef2ca |
Fcc: outbox
|
|
|
3ef2ca |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
|
3ef2ca |
Mime-Version: 1.0
|
|
|
3ef2ca |
Content-Type: text/plain; charset=UTF-8
|
|
|
3ef2ca |
Content-Transfer-Encoding: 8bit
|
|
|
3ef2ca |
------------
|
|
|
3ef2ca |
|
|
|
3ef2ca |
Patch 7.4.329
|
|
|
3ef2ca |
Problem: When moving the cursor and then switching to another window the
|
|
|
3ef2ca |
previous window isn't scrolled. (Yukihiro Nakadaira)
|
|
|
3ef2ca |
Solution: Call update_topline() before leaving the window. (Christian
|
|
|
3ef2ca |
Brabandt)
|
|
|
3ef2ca |
Files: src/window.c
|
|
|
3ef2ca |
|
|
|
3ef2ca |
|
|
|
3ef2ca |
*** ../vim-7.4.328/src/window.c 2014-06-14 12:53:27.394152699 +0200
|
|
|
3ef2ca |
--- src/window.c 2014-06-17 13:44:48.812075178 +0200
|
|
|
3ef2ca |
***************
|
|
|
3ef2ca |
*** 4250,4255 ****
|
|
|
3ef2ca |
--- 4250,4260 ----
|
|
|
3ef2ca |
/* sync undo before leaving the current buffer */
|
|
|
3ef2ca |
if (undo_sync && curbuf != wp->w_buffer)
|
|
|
3ef2ca |
u_sync(FALSE);
|
|
|
3ef2ca |
+
|
|
|
3ef2ca |
+ /* Might need to scroll the old window before switching, e.g., when the
|
|
|
3ef2ca |
+ * cursor was moved. */
|
|
|
3ef2ca |
+ update_topline();
|
|
|
3ef2ca |
+
|
|
|
3ef2ca |
/* may have to copy the buffer options when 'cpo' contains 'S' */
|
|
|
3ef2ca |
if (wp->w_buffer != curbuf)
|
|
|
3ef2ca |
buf_copy_options(wp->w_buffer, BCO_ENTER | BCO_NOHELP);
|
|
|
3ef2ca |
*** ../vim-7.4.328/src/version.c 2014-06-17 13:50:06.148087184 +0200
|
|
|
3ef2ca |
--- src/version.c 2014-06-17 13:51:09.960089598 +0200
|
|
|
3ef2ca |
***************
|
|
|
3ef2ca |
*** 736,737 ****
|
|
|
3ef2ca |
--- 736,739 ----
|
|
|
3ef2ca |
{ /* Add new patch number below this line */
|
|
|
3ef2ca |
+ /**/
|
|
|
3ef2ca |
+ 329,
|
|
|
3ef2ca |
/**/
|
|
|
3ef2ca |
|
|
|
3ef2ca |
--
|
|
|
3ef2ca |
FATHER: Make sure the Prince doesn't leave this room until I come and
|
|
|
3ef2ca |
get him.
|
|
|
3ef2ca |
FIRST GUARD: Not ... to leave the room ... even if you come and get him.
|
|
|
3ef2ca |
FATHER: No. Until I come and get him.
|
|
|
3ef2ca |
SECOND GUARD: Hic.
|
|
|
3ef2ca |
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
|
|
|
3ef2ca |
|
|
|
3ef2ca |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
|
3ef2ca |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
|
3ef2ca |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
|
3ef2ca |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|