Problem: Sign placement is wrong when 'foldcolumn' is set.
Solution: Adjust the column computation. (Yee Cheng Chin, closes #4627)
int col = gui.col;
#ifdef FEAT_SIGN_ICONS
int draw_sign = FALSE;
- int signcol = 0;
+ int signcol = col;
char_u extra[18];
# ifdef FEAT_NETBEANS_INTG
int multi_sign = FALSE;
--col;
len = (int)STRLEN(s);
if (len > 2)
- signcol = len - 3; // Right align sign icon in the number column
+ signcol = col + len - 3; // Right align sign icon in the number column
draw_sign = TRUE;
highlight_mask = 0;
}
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1643,
/**/
1642,
/**/