Home
last modified time | relevance | path

Searched refs:colnr_T (Results 1 – 25 of 90) sorted by relevance

1234

/vim-8.2.3635/src/proto/
H A Dcharset.pro17 int chartabsize(char_u *p, colnr_T col);
20 int win_linetabsize(win_T *wp, char_u *line, colnr_T len);
31 int lbr_chartabsize(char_u *line, unsigned char *s, colnr_T col);
32 int lbr_chartabsize_adv(char_u *line, char_u **s, colnr_T col);
33 int win_lbr_chartabsize(win_T *wp, char_u *line, char_u *s, colnr_T col, int *headp);
34 void getvcol(win_T *wp, pos_T *pos, colnr_T *start, colnr_T *cursor, colnr_T *end);
35 colnr_T getvcol_nolist(pos_T *posp);
36 void getvvcol(win_T *wp, pos_T *pos, colnr_T *start, colnr_T *cursor, colnr_T *end);
37 void getvcols(win_T *wp, pos_T *pos1, pos_T *pos2, colnr_T *left, colnr_T *right);
H A Dindent.pro3 int tabstop_padding(colnr_T col, int ts_arg, int *vts);
4 int tabstop_at(colnr_T col, int ts, int *vts);
5 colnr_T tabstop_start(colnr_T col, int ts, int *vts);
6 void tabstop_fromto(colnr_T start_col, colnr_T end_col, int ts_arg, int *vts, int *ntabs, int *nspc…
12 long get_sw_value_col(buf_T *buf, colnr_T col);
H A Dmisc2.pro4 int coladvance_force(colnr_T wcol);
5 int getviscol2(colnr_T col, colnr_T coladd);
6 int coladvance(colnr_T wcol);
7 int getvpos(pos_T *pos, colnr_T wcol);
H A Dregexp.pro18 int vim_regexec_prog(regprog_T **prog, int ignore_case, char_u *line, colnr_T col);
19 int vim_regexec(regmatch_T *rmp, char_u *line, colnr_T col);
20 int vim_regexec_nl(regmatch_T *rmp, char_u *line, colnr_T col);
21 long vim_regexec_multi(regmmatch_T *rmp, win_T *win, buf_T *buf, linenr_T lnum, colnr_T col, profti…
H A Dmemline.pro24 int ml_append(linenr_T lnum, char_u *line, colnr_T len, int newfile);
25 int ml_append_flags(linenr_T lnum, char_u *line, colnr_T len, int flags);
26 int ml_append_buf(buf_T *buf, linenr_T lnum, char_u *line, colnr_T len, int newfile);
28 int ml_replace_len(linenr_T lnum, char_u *line_arg, colnr_T len_arg, int has_props, int copy);
H A Dchange.pro11 void changed_bytes(linenr_T lnum, colnr_T col);
12 void inserted_bytes(linenr_T lnum, colnr_T col, int added);
18 void changed_lines(linenr_T lnum, colnr_T col, linenr_T lnume, long xtra);
/vim-8.2.3635/src/
H A Dcharset.c949 colnr_T col) in lbr_chartabsize()
972 colnr_T col) in lbr_chartabsize_adv()
993 colnr_T col, in win_lbr_chartabsize()
999 colnr_T col2; in win_lbr_chartabsize()
1159 colnr_T col, in win_nolbr_chartabsize()
1223 colnr_T *end) in getvcol()
1225 colnr_T vcol; in getvcol()
1357 colnr_T
1361 colnr_T vcol; in getvcol_nolist()
1381 colnr_T *end) in getvvcol()
[all …]
H A Dindent.c101 colnr_T tabcol = 0; in tabstop_padding()
132 colnr_T tabcol = 0; in tabstop_at()
158 colnr_T
187 colnr_T start_col, in tabstop_fromto()
188 colnr_T end_col, in tabstop_fromto()
772 colnr_T old_offset = (colnr_T)(p - oldline); in set_indent()
773 colnr_T new_offset = (colnr_T)(s - newline); in set_indent()
820 colnr_T col; in get_number_indent()
1008 colnr_T col; in inindent()
1231 colnr_T vc; in change_indent()
[all …]
H A Dtextformat.c56 colnr_T leader_len; in internal_format()
85 colnr_T len; in internal_format()
86 colnr_T virtcol; in internal_format()
89 colnr_T col; in internal_format()
90 colnr_T end_col; in internal_format()
95 if (virtcol <= (colnr_T)textwidth) in internal_format()
125 coladvance((colnr_T)textwidth); in internal_format()
625 colnr_T len; in auto_format()
689 coladvance((colnr_T)MAXCOL); in auto_format()
701 len = (colnr_T)STRLEN(new); in auto_format()
[all …]
H A Dstructs.h19 typedef int colnr_T; typedef
29 colnr_T col; // column number
30 colnr_T coladd; // extra virtual column
40 colnr_T col; // column number
372 colnr_T vi_curswant; // MAXCOL from w_curswant
801 colnr_T tp_len; // length in bytes
2813 colnr_T b_u_line_colnr; // optional column number
3326 colnr_T col; // column number
3579 colnr_T w_valid_leftcol; // last known w_leftcol
3648 colnr_T w_ru_virtcol; // virtcol shown in ruler
[all …]
H A Dmisc2.c43 colnr_T x; in getviscol()
74 getviscol2(colnr_T col, colnr_T coladd UNUSED) in getviscol2()
76 colnr_T x; in getviscol2()
96 coladvance(colnr_T wcol) in coladvance()
128 colnr_T wcol = wcol_arg; in coladvance2()
132 colnr_T col = 0; in coladvance2()
164 && wcol >= (colnr_T)width in coladvance2()
291 colnr_T scol, ecol; in coladvance2()
506 colnr_T len; in check_pos()
555 colnr_T len; in check_cursor_col_win()
[all …]
H A Ddrawline.c64 if (wp->w_virtcol >= (colnr_T)width1) in margin_columns_win()
194 colnr_T col1, col2; in text_prop_compare()
635 (colnr_T *)&fromcol, NULL, NULL); in win_line()
750 trailcol = (colnr_T)STRLEN(ptr); in win_line()
753 trailcol += (colnr_T) (ptr - line); in win_line()
763 leadcol = (colnr_T)0; in win_line()
766 leadcol += (colnr_T) (ptr - line) + 1; in win_line()
844 colnr_T linecol = (colnr_T)(ptr - line); in win_line()
889 if ((colnr_T)fromcol == wp->w_virtcol) in win_line()
1925 (colnr_T)(prev_ptr - line) in win_line()
[all …]
H A Dops.c288 colnr_T ws_vcol; in shift_block()
338 (colnr_T)(bd.start_vcol)); in shift_block()
385 colnr_T non_white_col; in shift_block()
1459 colnr_T ind_pre = 0, ind_post; in op_insert()
1689 colnr_T l; in op_change()
1759 if (bd.textcol > (colnr_T)pre_indent) in op_change()
1839 colnr_T scol, ecol; in adjust_cursor_eol()
1945 colnr_T col = 0; in do_join()
2498 colnr_T save_coladd = 0; in do_addsub()
3394 colnr_T redo_VIsual_vcol, in get_op_vcol()
[all …]
H A Dchange.c200 colnr_T col, in may_record_change()
467 colnr_T col, in changed_common()
707 changed_bytes(linenr_T lnum, colnr_T col) in changed_bytes()
1024 colnr_T col; in ins_char_bytes()
1045 colnr_T vcol; in ins_char_bytes()
1158 colnr_T col; in ins_str()
1236 colnr_T oldlen; in del_bytes()
1237 colnr_T newlen; in del_bytes()
1239 colnr_T col = curwin->w_cursor.col; in del_bytes()
2249 ai_col = (colnr_T)getwhitecols_curline(); in open_line()
[all …]
H A Dregexp.c1151 colnr_T reg_maxcol;
1273 colnr_T col; in reg_match_visual()
1276 colnr_T start, end; in reg_match_visual()
1277 colnr_T start2, end2; in reg_match_visual()
1278 colnr_T cols; in reg_match_visual()
1279 colnr_T curswant; in reg_match_visual()
1432 colnr_T start_col, in match_with_backref()
1434 colnr_T end_col, in match_with_backref()
2491 colnr_T scol; in reg_submatch_list()
2492 colnr_T ecol; in reg_submatch_list()
[all …]
H A Dedit.c1744 display_dollar(colnr_T col) in display_dollar()
1746 colnr_T save_col; in display_dollar()
2203 colnr_T virtcol = 0; in insertchar()
3178 colnr_T start_vcol; in replace_do_bs()
3938 ins_bs_one(colnr_T *vcolp) in ins_bs_one()
3967 colnr_T save_col; in ins_bs()
3968 colnr_T mincol; in ins_bs()
4175 colnr_T vcol; in ins_bs()
4176 colnr_T want_vcol; in ins_bs()
4177 colnr_T start_vcol; in ins_bs()
[all …]
H A Dregexp.h153 colnr_T rmm_maxcol; // when not zero: maximum column
171 int (*regexec_nl)(regmatch_T *, char_u *, colnr_T, int);
172 long (*regexec_multi)(regmmatch_T *, win_T *, buf_T *, linenr_T, colnr_T, proftime_T *, int *);
H A Dcindent.c170 if ((colnr_T)(p - line) <= pos->col) in find_start_comment()
206 if ((colnr_T)(p - line) <= pos->col) in find_start_rawstring()
882 colnr_T col; in get_indent_nolabel()
890 fp.col = (colnr_T)(p - l); in get_indent_nolabel()
944 colnr_T col; in cin_first_id_amount()
975 fp.col = (colnr_T)(p - line); in cin_first_id_amount()
994 colnr_T col; in cin_get_equal_amount()
1023 fp.col = (colnr_T)(s - line); in cin_get_equal_amount()
1583 pos->col = (colnr_T)(s - line); in cin_is_cpp_baseclass()
1604 colnr_T vcol; in get_baseclass_amount()
[all …]
H A Dnormal.c1524 colnr_T startcol, in find_ident_at_pos()
1822 colnr_T leftcol, rightcol; in clear_showcmd()
2666 colnr_T virtcol; in nv_screengo()
2776 colnr_T col; in nv_zet()
4465 colnr_T scol, ecol; in nv_csearch()
5149 colnr_T start = (colnr_T)(curwin->w_cursor.col - cap->count1); in nv_replace()
5181 colnr_T left, right; in v_swap_corners()
6084 coladvance((colnr_T)i); in nv_g_cmd()
6160 coladvance((colnr_T)i); in nv_g_cmd()
6187 coladvance((colnr_T)i); in nv_g_cmd()
[all …]
H A Dtextprop.c160 colnr_T start_col; in f_prop_add()
197 colnr_T start_col, in prop_add_one()
198 colnr_T end_col) in prop_add_one()
233 colnr_T col; // start column in prop_add_one()
322 colnr_T start_col; in f_prop_add_list()
324 colnr_T end_col; in f_prop_add_list()
387 colnr_T start_col, in prop_add_common()
393 colnr_T end_col; in prop_add_common()
1439 colnr_T col, in adjust_prop()
1506 colnr_T col, in adjust_prop_columns()
[all …]
H A Dex_cmds.c388 colnr_T start_col; in ex_sort()
389 colnr_T end_col; in ex_sort()
4000 (colnr_T)0, NULL, NULL); in ex_substitute()
4003 colnr_T copycol; in ex_substitute()
4004 colnr_T matchcol; in ex_substitute()
4005 colnr_T prev_matchcol = MAXCOL; in ex_substitute()
4018 colnr_T total_added = 0; in ex_substitute()
4199 colnr_T sc, ec; in ex_substitute()
4562 (colnr_T)(p1 - new_start), -1, in ex_substitute()
4572 colnr_T plen = (colnr_T)(p1 - new_start + 1); in ex_substitute()
[all …]
H A Dmove.c862 colnr_T off; in validate_cursor_col()
863 colnr_T col; in validate_cursor_col()
876 && col >= (colnr_T)curwin->w_width in validate_cursor_col()
955 colnr_T startcol; in curs_columns()
956 colnr_T endcol; in curs_columns()
957 colnr_T prev_skipcol; in curs_columns()
1235 colnr_T coloff = 0; in textpos2screenpos()
1239 colnr_T off; in textpos2screenpos()
1240 colnr_T col; in textpos2screenpos()
1254 && col >= (colnr_T)wp->w_width in textpos2screenpos()
[all …]
H A Dregister.c1233 colnr_T startcol = 0, endcol = MAXCOL; in op_yank()
1235 colnr_T cs, ce; in op_yank()
1289 endcol = (colnr_T)STRLEN(p); in op_yank()
1541 colnr_T col; in do_put()
1547 colnr_T vcol; in do_put()
1784 colnr_T endcol2 = 0; in do_put()
1837 (colnr_T)1, FALSE) == FAIL) in do_put()
1850 bd.textcol = (colnr_T)(ptr - oldp); in do_put()
1951 colnr_T len; in do_put()
1957 len = (colnr_T)STRLEN(ml_get_curline()); in do_put()
[all …]
H A Dmatch.c115 colnr_T col = 0; in match_add()
356 colnr_T mincol) // minimal column for a match in next_search_hl_pos()
390 colnr_T start = posmatch->pos[found].col == 0 in next_search_hl_pos()
392 colnr_T end = posmatch->pos[found].col == 0 in next_search_hl_pos()
421 colnr_T mincol, // minimal column for a match in next_search_hl()
425 colnr_T matchcol; in next_search_hl()
598 next_search_hl(wp, search_hl, shl, shl->first_lnum, (colnr_T)n, in prepare_search_hl()
630 colnr_T mincol, in prepare_search_hl_line()
712 colnr_T col, in update_search_hl()
H A Dmemline.c1522 (colnr_T)0, TRUE); in ml_recover()
1538 (colnr_T)0, TRUE); in ml_recover()
1545 (colnr_T)0, TRUE); in ml_recover()
1571 (colnr_T)0, TRUE); in ml_recover()
1609 (colnr_T)0, TRUE); in ml_recover()
2643 colnr_T len; in ml_get_buf()
2776 colnr_T len = len_arg; in ml_append_int()
3395 colnr_T len = -1; in ml_replace()
3412 colnr_T len_arg, in ml_replace_len()
3417 colnr_T len = len_arg; in ml_replace_len()
[all …]

1234