|
|
22c937 |
To: vim_dev@googlegroups.com
|
|
|
22c937 |
Subject: Patch 7.4.173
|
|
|
22c937 |
Fcc: outbox
|
|
|
22c937 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
|
22c937 |
Mime-Version: 1.0
|
|
|
22c937 |
Content-Type: text/plain; charset=UTF-8
|
|
|
22c937 |
Content-Transfer-Encoding: 8bit
|
|
|
22c937 |
------------
|
|
|
22c937 |
|
|
|
22c937 |
Patch 7.4.173
|
|
|
22c937 |
Problem: When using scrollbind the cursor can end up below the last line.
|
|
|
22c937 |
(mvxxc)
|
|
|
22c937 |
Solution: Reset w_botfill when scrolling up. (Christian Brabandt)
|
|
|
22c937 |
Files: src/move.c
|
|
|
22c937 |
|
|
|
22c937 |
|
|
|
22c937 |
*** ../vim-7.4.172/src/move.c 2012-11-28 18:15:42.000000000 +0100
|
|
|
22c937 |
--- src/move.c 2014-02-11 15:39:24.758138292 +0100
|
|
|
22c937 |
***************
|
|
|
22c937 |
*** 2101,2106 ****
|
|
|
22c937 |
--- 2101,2107 ----
|
|
|
22c937 |
int used;
|
|
|
22c937 |
lineoff_T loff;
|
|
|
22c937 |
lineoff_T boff;
|
|
|
22c937 |
+ linenr_T old_topline = curwin->w_topline;
|
|
|
22c937 |
|
|
|
22c937 |
loff.lnum = boff.lnum = curwin->w_cursor.lnum;
|
|
|
22c937 |
#ifdef FEAT_FOLDING
|
|
|
22c937 |
***************
|
|
|
22c937 |
*** 2156,2161 ****
|
|
|
22c937 |
--- 2157,2164 ----
|
|
|
22c937 |
curwin->w_topline = topline;
|
|
|
22c937 |
#ifdef FEAT_DIFF
|
|
|
22c937 |
curwin->w_topfill = topfill;
|
|
|
22c937 |
+ if (old_topline > curwin->w_topline + curwin->w_height)
|
|
|
22c937 |
+ curwin->w_botfill = FALSE;
|
|
|
22c937 |
check_topfill(curwin, FALSE);
|
|
|
22c937 |
#endif
|
|
|
22c937 |
curwin->w_valid &= ~(VALID_WROW|VALID_CROW|VALID_BOTLINE|VALID_BOTLINE_AP);
|
|
|
22c937 |
*** ../vim-7.4.172/src/version.c 2014-02-11 15:23:27.942123631 +0100
|
|
|
22c937 |
--- src/version.c 2014-02-11 15:38:34.562137523 +0100
|
|
|
22c937 |
***************
|
|
|
22c937 |
*** 740,741 ****
|
|
|
22c937 |
--- 740,743 ----
|
|
|
22c937 |
{ /* Add new patch number below this line */
|
|
|
22c937 |
+ /**/
|
|
|
22c937 |
+ 173,
|
|
|
22c937 |
/**/
|
|
|
22c937 |
|
|
|
22c937 |
--
|
|
|
22c937 |
GALAHAD hurries to the door and pushes through it. As he leaves the room
|
|
|
22c937 |
we CUT TO the reverse to show that he is now in a room full of bathing
|
|
|
22c937 |
and romping GIRLIES, all innocent, wide-eyed and beautiful. They smile
|
|
|
22c937 |
enchantingly at him as he tries to keep walking without being diverted by
|
|
|
22c937 |
the lovely sights assaulting his eyeballs.
|
|
|
22c937 |
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
|
|
|
22c937 |
|
|
|
22c937 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
|
22c937 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
|
22c937 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
|
22c937 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|