Lines Matching refs:w_width
872 width = curwin->w_width - off + curwin_col_off2(); in validate_cursor_col()
876 && col >= (colnr_T)curwin->w_width in validate_cursor_col()
879 col -= ((col - curwin->w_width) / width + 1) * width; in validate_cursor_col()
997 textwidth = curwin->w_width - extra; in curs_columns()
1002 curwin->w_wcol = curwin->w_width - 1; in curs_columns()
1008 else if (curwin->w_p_wrap && curwin->w_width != 0) in curs_columns()
1013 if (curwin->w_wcol >= curwin->w_width) in curs_columns()
1020 n = (curwin->w_wcol - curwin->w_width) / width + 1; in curs_columns()
1052 off_right = (int)endcol - (int)(curwin->w_leftcol + curwin->w_width in curs_columns()
1117 && curwin->w_width != 0) in curs_columns()
1250 width = wp->w_width - off + win_col_off2(wp); in textpos2screenpos()
1254 && col >= (colnr_T)wp->w_width in textpos2screenpos()
1258 rowoff = ((col - wp->w_width) / width + 1); in textpos2screenpos()
1262 if (col >= wp->w_width) in textpos2screenpos()
1384 if (curwin->w_p_wrap && curwin->w_width != 0) in scrolldown()
1389 curwin->w_virtcol / curwin->w_width; in scrolldown()
1588 if (curwin->w_p_wrap && curwin->w_width != 0) in scrolldown_clamp()
1593 curwin->w_virtcol / curwin->w_width; in scrolldown_clamp()
1648 if (curwin->w_p_wrap && curwin->w_width != 0) in scrollup_clamp()
1651 start_row -= curwin->w_virtcol / curwin->w_width; in scrollup_clamp()