To:
[email protected]
Subject: Patch 6.0ax.019
Fcc: outbox
From: Bram Moolenaar <
[email protected]>
------------
Patch 6.0ax.019
Problem: When scrolling a window with folds upwards, switching to another
vertically split window and back may not update the scrollbar.
Solution: Limit w_botline to the number of lines in the buffer plus one.
Files: src/move.c
*** ../vim60ax.18/src/move.c Tue Sep 18 20:05:50 2001
--- src/move.c Tue Sep 25 11:23:37 2001
***************
*** 1333,1338 ****
--- 1333,1340 ----
if (curwin->w_topline > curbuf->b_ml.ml_line_count)
curwin->w_topline = curbuf->b_ml.ml_line_count;
+ if (curwin->w_botline > curbuf->b_ml.ml_line_count + 1)
+ curwin->w_botline = curbuf->b_ml.ml_line_count + 1;
#ifdef FEAT_DIFF
check_topfill(curwin, FALSE);
*** ../vim60ax.18/src/version.c Tue Sep 25 11:32:18 2001
--- src/version.c Tue Sep 25 11:32:35 2001
***************
*** 608,609 ****
--- 608,611 ----
{ /* Add new patch number below this line */
+ /**/
+ 19,
/**/
--
ALL: A witch! A witch!
WITCH: It's a fair cop.
ALL: Burn her! Burn her! Let's make her into a ladder.
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
/// Bram Moolenaar --
[email protected] --
http://www.moolenaar.net \\\
((( Creator of Vim --
http://vim.sf.net --
ftp://ftp.vim.org/pub/vim )))
\\\ Help me helping AIDS orphans in Uganda -
http://iccf-holland.org ///