Searched refs:b_p_tw (Results 1 – 8 of 8) sorted by relevance
2312 curbuf->b_p_tw_nobin = curbuf->b_p_tw; in set_options_bin()2328 curbuf->b_p_tw = 0; // no automatic line wrap in set_options_bin()2346 curbuf->b_p_tw = curbuf->b_p_tw_nobin; in set_options_bin()3677 else if (pp == &curbuf->b_p_tw) in set_num_option()3679 if (curbuf->b_p_tw < 0) in set_num_option()3682 curbuf->b_p_tw = 0; in set_num_option()5518 case PV_TW: return (char_u *)&(curbuf->b_p_tw); in get_varp()5914 buf->b_p_tw = p_tw; in buf_copy_options()6736 buf->b_p_tw_nopaste = buf->b_p_tw; in paste_option_changed()6779 buf->b_p_tw = 0; // textwidth is 0 in paste_option_changed()[all …]
175 long old_tw = curbuf->b_p_tw; in open_buffer()209 if (old_tw != curbuf->b_p_tw) in open_buffer()1096 long old_tw = curbuf->b_p_tw; in handle_swap_exists()1135 if (old_tw != curbuf->b_p_tw) in handle_swap_exists()1709 long old_tw = curbuf->b_p_tw; in set_curbuf()1774 if (old_tw != curbuf->b_p_tw) in set_curbuf()
768 textwidth = curbuf->b_p_tw; in comp_textwidth()
5318 tw_save = curbuf->b_p_tw; in ins_ctrl_ey()5319 curbuf->b_p_tw = -1; in ins_ctrl_ey()5321 curbuf->b_p_tw = tw_save; in ins_ctrl_ey()
2947 long b_p_tw; // 'textwidth' member
6974 if (wp->w_buffer->b_p_tw == 0) in check_colorcolumn()6976 col += wp->w_buffer->b_p_tw; in check_colorcolumn()
4314 curbuf->b_p_tw = 0; in open_cmdwin()
177 width = curbuf->b_p_tw; in ex_align()