|
Karsten Hopp |
5d2848 |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
5d2848 |
Subject: Patch 7.4.805
|
|
Karsten Hopp |
5d2848 |
Fcc: outbox
|
|
Karsten Hopp |
5d2848 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
5d2848 |
Mime-Version: 1.0
|
|
Karsten Hopp |
5d2848 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
5d2848 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
5d2848 |
------------
|
|
Karsten Hopp |
5d2848 |
|
|
Karsten Hopp |
5d2848 |
Patch 7.4.805
|
|
Karsten Hopp |
5d2848 |
Problem: The ruler shows "Bot" even when there are only filler lines
|
|
Karsten Hopp |
5d2848 |
missing. (Gary Johnson)
|
|
Karsten Hopp |
5d2848 |
Solution: Use "All" when the first line and one filler line are visible.
|
|
Karsten Hopp |
5d2848 |
Files: src/buffer.c
|
|
Karsten Hopp |
5d2848 |
|
|
Karsten Hopp |
5d2848 |
|
|
Karsten Hopp |
5d2848 |
*** ../vim-7.4.804/src/buffer.c 2015-07-21 15:03:00.691467213 +0200
|
|
Karsten Hopp |
5d2848 |
--- src/buffer.c 2015-08-04 17:38:28.340901106 +0200
|
|
Karsten Hopp |
5d2848 |
***************
|
|
Karsten Hopp |
5d2848 |
*** 4434,4439 ****
|
|
Karsten Hopp |
5d2848 |
--- 4434,4443 ----
|
|
Karsten Hopp |
5d2848 |
above = wp->w_topline - 1;
|
|
Karsten Hopp |
5d2848 |
#ifdef FEAT_DIFF
|
|
Karsten Hopp |
5d2848 |
above += diff_check_fill(wp, wp->w_topline) - wp->w_topfill;
|
|
Karsten Hopp |
5d2848 |
+ if (wp->w_topline == 1 && wp->w_topfill >= 1)
|
|
Karsten Hopp |
5d2848 |
+ above = 0; /* All buffer lines are displayed and there is an
|
|
Karsten Hopp |
5d2848 |
+ * indication of filler lines, that can be considered
|
|
Karsten Hopp |
5d2848 |
+ * seeing all lines. */
|
|
Karsten Hopp |
5d2848 |
#endif
|
|
Karsten Hopp |
5d2848 |
below = wp->w_buffer->b_ml.ml_line_count - wp->w_botline + 1;
|
|
Karsten Hopp |
5d2848 |
if (below <= 0)
|
|
Karsten Hopp |
5d2848 |
*** ../vim-7.4.804/src/version.c 2015-08-04 17:29:02.863390617 +0200
|
|
Karsten Hopp |
5d2848 |
--- src/version.c 2015-08-04 17:42:39.858011243 +0200
|
|
Karsten Hopp |
5d2848 |
***************
|
|
Karsten Hopp |
5d2848 |
*** 743,744 ****
|
|
Karsten Hopp |
5d2848 |
--- 743,746 ----
|
|
Karsten Hopp |
5d2848 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
5d2848 |
+ /**/
|
|
Karsten Hopp |
5d2848 |
+ 805,
|
|
Karsten Hopp |
5d2848 |
/**/
|
|
Karsten Hopp |
5d2848 |
|
|
Karsten Hopp |
5d2848 |
--
|
|
Karsten Hopp |
5d2848 |
Not too long ago, a keyboard was something to make music with...
|
|
Karsten Hopp |
5d2848 |
|
|
Karsten Hopp |
5d2848 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
5d2848 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
5d2848 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
5d2848 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|