Lines Matching refs:col_start
1687 int col_start, in find_prev_quote() argument
1693 while (col_start > 0) in find_prev_quote()
1695 --col_start; in find_prev_quote()
1696 col_start -= (*mb_head_off)(line, line + col_start); in find_prev_quote()
1699 while (col_start - n > 0 && vim_strchr(escape, in find_prev_quote()
1700 line[col_start - n - 1]) != NULL) in find_prev_quote()
1703 col_start -= n; // uneven number of escape chars, skip it in find_prev_quote()
1704 else if (line[col_start] == quotechar) in find_prev_quote()
1707 return col_start; in find_prev_quote()
1723 int col_start = curwin->w_cursor.col; in current_quote() local
1802 if (!vis_empty && line[col_start] == quotechar) in current_quote()
1810 col_start = find_next_quote(line, col_start + 1, quotechar, NULL); in current_quote()
1811 if (col_start < 0) in current_quote()
1813 col_end = find_next_quote(line, col_start + 1, quotechar, in current_quote()
1818 col_end = col_start; in current_quote()
1819 col_start = curwin->w_cursor.col; in current_quote()
1824 col_end = find_prev_quote(line, col_start, quotechar, NULL); in current_quote()
1827 col_start = find_prev_quote(line, col_end, quotechar, in current_quote()
1829 if (line[col_start] != quotechar) in current_quote()
1832 col_start = col_end; in current_quote()
1839 if (line[col_start] == quotechar || !vis_empty) in current_quote()
1841 int first_col = col_start; in current_quote()
1846 first_col = find_next_quote(line, col_start, quotechar, NULL); in current_quote()
1848 first_col = find_prev_quote(line, col_start, quotechar, NULL); in current_quote()
1855 col_start = 0; in current_quote()
1859 col_start = find_next_quote(line, col_start, quotechar, NULL); in current_quote()
1860 if (col_start < 0 || col_start > first_col) in current_quote()
1863 col_end = find_next_quote(line, col_start + 1, quotechar, in current_quote()
1869 if (col_start <= first_col && first_col <= col_end) in current_quote()
1871 col_start = col_end + 1; in current_quote()
1877 col_start = find_prev_quote(line, col_start, quotechar, curbuf->b_p_qe); in current_quote()
1878 if (line[col_start] != quotechar) in current_quote()
1881 col_start = find_next_quote(line, col_start, quotechar, NULL); in current_quote()
1882 if (col_start < 0) in current_quote()
1887 col_end = find_next_quote(line, col_start + 1, quotechar, in current_quote()
1901 while (col_start > 0 && VIM_ISWHITE(line[col_start - 1])) in current_quote()
1902 --col_start; in current_quote()
1908 ++col_start; in current_quote()
1909 curwin->w_cursor.col = col_start; in current_quote()
1961 curwin->w_cursor.col = col_start; in current_quote()