summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <bram@vim.org>2014-05-22 15:51:04 +0200
committerBram Moolenaar <bram@vim.org>2014-05-22 15:51:04 +0200
commit452ce6c9da2c0dbf0f436299af4fc26480f580df (patch)
tree0992f610fce6042bad28b90e42f51d22544f6bcd
parentad9e1cf8719444658c93d02bd42edd6a623449c2 (diff)
downloadvim-452ce6c9da2c0dbf0f436299af4fc26480f580df.tar.gz
updated for version 7.4.302v7.4.302v7-4-302
Problem: Signs placed with 'foldcolumn' set don't show up after filler lines. Solution: Take filler lines into account. (Olaf Dabrunz)
-rw-r--r--src/screen.c12
-rw-r--r--src/version.c2
2 files changed, 8 insertions, 6 deletions
diff --git a/src/screen.c b/src/screen.c
index cdb416d0..78e43994 100644
--- a/src/screen.c
+++ b/src/screen.c
@@ -3553,11 +3553,7 @@ win_line(wp, lnum, startrow, endrow, nochange)
draw_state = WL_SIGN;
/* Show the sign column when there are any signs in this
* buffer or when using Netbeans. */
- if (draw_signcolumn(wp)
-# ifdef FEAT_DIFF
- && filler_todo <= 0
-# endif
- )
+ if (draw_signcolumn(wp))
{
int text_sign;
# ifdef FEAT_SIGN_ICONS
@@ -3569,7 +3565,11 @@ win_line(wp, lnum, startrow, endrow, nochange)
char_attr = hl_attr(HLF_SC);
n_extra = 2;
- if (row == startrow)
+ if (row == startrow
+#ifdef FEAT_DIFF
+ + filler_lines && filler_todo <= 0
+#endif
+ )
{
text_sign = buf_getsigntype(wp->w_buffer, lnum,
SIGN_TEXT);
diff --git a/src/version.c b/src/version.c
index 7f58182f..1c1aa2b3 100644
--- a/src/version.c
+++ b/src/version.c
@@ -735,6 +735,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 302,
+/**/
301,
/**/
300,