Lines Matching refs:textwidth
41 int textwidth, in internal_format() argument
95 if (virtcol <= (colnr_T)textwidth) in internal_format()
125 coladvance((colnr_T)textwidth); in internal_format()
766 int textwidth; in comp_textwidth() local
768 textwidth = curbuf->b_p_tw; in comp_textwidth()
769 if (textwidth == 0 && curbuf->b_p_wm) in comp_textwidth()
773 textwidth = curwin->w_width - curbuf->b_p_wm; in comp_textwidth()
776 textwidth -= 1; in comp_textwidth()
779 textwidth -= curwin->w_p_fdc; in comp_textwidth()
783 textwidth -= 1; in comp_textwidth()
786 textwidth -= 8; in comp_textwidth()
788 if (textwidth < 0) in comp_textwidth()
789 textwidth = 0; in comp_textwidth()
790 if (ff && textwidth == 0) in comp_textwidth()
792 textwidth = curwin->w_width - 1; in comp_textwidth()
793 if (textwidth > 79) in comp_textwidth()
794 textwidth = 79; in comp_textwidth()
796 return textwidth; in comp_textwidth()