Mercurial > vim
comparison src/edit.c @ 6689:97cc4ee3e095 v7.4.669
updated for version 7.4.669
Problem: When netbeans is active the sign column always shows up.
Solution: Only show the sign column once a sign has been added. (Xavier de
Gaye)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Fri, 20 Mar 2015 18:11:48 +0100 |
parents | 21719d38d2ff |
children | c939d19bd86e |
comparison
equal
deleted
inserted
replaced
6688:a2bcc773cfa0 | 6689:97cc4ee3e095 |
---|---|
6685 textwidth -= curwin->w_p_fdc; | 6685 textwidth -= curwin->w_p_fdc; |
6686 #endif | 6686 #endif |
6687 #ifdef FEAT_SIGNS | 6687 #ifdef FEAT_SIGNS |
6688 if (curwin->w_buffer->b_signlist != NULL | 6688 if (curwin->w_buffer->b_signlist != NULL |
6689 # ifdef FEAT_NETBEANS_INTG | 6689 # ifdef FEAT_NETBEANS_INTG |
6690 || netbeans_active() | 6690 || curwin->w_buffer->b_has_sign_column |
6691 # endif | 6691 # endif |
6692 ) | 6692 ) |
6693 textwidth -= 1; | 6693 textwidth -= 1; |
6694 #endif | 6694 #endif |
6695 if (curwin->w_p_nu || curwin->w_p_rnu) | 6695 if (curwin->w_p_nu || curwin->w_p_rnu) |