Lines Matching refs:col

89 	colnr_T	col;  in internal_format()  local
121 if ((startcol = curwin->w_cursor.col) == 0) in internal_format()
126 wantcol = curwin->w_cursor.col; in internal_format()
128 curwin->w_cursor.col = startcol; in internal_format()
137 || curwin->w_cursor.col >= Insstart.col) in internal_format()
139 if (curwin->w_cursor.col == startcol && c != NUL) in internal_format()
146 end_col = curwin->w_cursor.col; in internal_format()
150 while (curwin->w_cursor.col > 0 && WHITECHAR(cc)) in internal_format()
160 if (curwin->w_cursor.col == 0 && WHITECHAR(cc)) in internal_format()
169 if (curwin->w_cursor.col < leader_len) in internal_format()
174 if (curwin->w_cursor.col == 0) in internal_format()
177 if (curwin->w_cursor.col <= leader_len) in internal_format()
179 col = curwin->w_cursor.col; in internal_format()
185 curwin->w_cursor.col = col; in internal_format()
191 foundcol = curwin->w_cursor.col; in internal_format()
192 if (curwin->w_cursor.col <= (colnr_T)wantcol) in internal_format()
201 if (curwin->w_cursor.col != startcol) in internal_format()
204 if (curwin->w_cursor.col < leader_len) in internal_format()
206 col = curwin->w_cursor.col; in internal_format()
215 if (curwin->w_cursor.col != skip_pos && allow_break) in internal_format()
217 foundcol = curwin->w_cursor.col; in internal_format()
219 if (curwin->w_cursor.col <= (colnr_T)wantcol) in internal_format()
222 curwin->w_cursor.col = col; in internal_format()
225 if (curwin->w_cursor.col == 0) in internal_format()
229 col = curwin->w_cursor.col; in internal_format()
237 if (curwin->w_cursor.col < leader_len) in internal_format()
240 curwin->w_cursor.col = col; in internal_format()
241 skip_pos = curwin->w_cursor.col; in internal_format()
250 foundcol = curwin->w_cursor.col; in internal_format()
253 if (curwin->w_cursor.col <= (colnr_T)wantcol) in internal_format()
263 if (curwin->w_cursor.col == startcol) in internal_format()
273 col = curwin->w_cursor.col; in internal_format()
289 ncc == NUL? 0 : curwin->w_cursor.col; in internal_format()
292 curwin->w_cursor.col = col; in internal_format()
296 if (curwin->w_cursor.col == 0) in internal_format()
303 curwin->w_cursor.col = startcol; in internal_format()
320 curwin->w_cursor.col = foundcol; in internal_format()
322 && (!fo_white_par || curwin->w_cursor.col < startcol)) in internal_format()
324 startcol -= curwin->w_cursor.col; in internal_format()
333 curwin->w_cursor.col = orig_col; in internal_format()
346 curwin->w_cursor.col = foundcol; in internal_format()
412 curwin->w_cursor.col += startcol; in internal_format()
414 if (curwin->w_cursor.col > len) in internal_format()
415 curwin->w_cursor.col = len; in internal_format()
645 wasatend = (pos.col == (colnr_T)STRLEN(old)); in auto_format()
650 if (!WHITECHAR(cc) && curwin->w_cursor.col > 0 in auto_format()
702 if (curwin->w_cursor.col == len) in auto_format()
1103 while (curwin->w_cursor.col && vim_isspace(gchar_cursor())) in format_lines()
1137 curwin->w_cursor.col = 0; in format_lines()