Lines Matching refs:colnr_T
17 static int coladvance2(pos_T *pos, int addspaces, int finetune, colnr_T wcol);
43 colnr_T x; in getviscol()
55 coladvance_force(colnr_T wcol) in coladvance_force()
74 getviscol2(colnr_T col, colnr_T coladd UNUSED) in getviscol2()
76 colnr_T x; in getviscol2()
96 coladvance(colnr_T wcol) in coladvance()
116 getvpos(pos_T *pos, colnr_T wcol) in getvpos()
126 colnr_T wcol_arg) // column to move to (can be negative) in coladvance2()
128 colnr_T wcol = wcol_arg; in coladvance2()
132 colnr_T col = 0; in coladvance2()
164 && wcol >= (colnr_T)width in coladvance2()
171 if (wcol / width > (colnr_T)csize / width in coladvance2()
238 changed_bytes(pos->lnum, (colnr_T)idx); in coladvance2()
291 colnr_T scol, ecol; in coladvance2()
402 lp->col = (colnr_T)STRLEN(p); in dec()
425 lp->col = (colnr_T)STRLEN(p); in dec()
506 colnr_T len; in check_pos()
514 len = (colnr_T)STRLEN(line); in check_pos()
555 colnr_T len; in check_cursor_col_win()
556 colnr_T oldcol = win->w_cursor.col; in check_cursor_col_win()
557 colnr_T oldcoladd = win->w_cursor.col + win->w_cursor.coladd; in check_cursor_col_win()
560 len = (colnr_T)STRLEN(ml_get_buf(win->w_buffer, win->w_cursor.lnum, FALSE)); in check_cursor_col_win()
647 colnr_T s, e; in leftcol_changed()
659 if (curwin->w_virtcol > (colnr_T)(lastcol - siso)) in leftcol_changed()
662 coladvance((colnr_T)(lastcol - siso)); in leftcol_changed()
667 (void)coladvance((colnr_T)(curwin->w_leftcol + siso)); in leftcol_changed()
676 if (e > (colnr_T)lastcol) in leftcol_changed()