Home
last modified time | relevance | path

Searched refs:end_col (Results 1 – 25 of 27) sorted by relevance

12

/vim-8.2.3635/src/libvterm/src/
H A Drect.h6 #define ARGSrect(r) (r).start_row, (r).start_col, (r).end_row, (r).end_col
14 if(dst->end_col < src->end_col) dst->end_col = src->end_col; in rect_expand()
23 if(dst->end_col > bounds->end_col) dst->end_col = bounds->end_col; in rect_clip()
26 if(dst->end_col < dst->start_col) dst->end_col = dst->start_col; in rect_clip()
35 (a->end_col == b->end_col); in rect_equal()
44 if(small->end_col > big->end_col) return 0; in rect_contains()
53 if(a->start_col > b->end_col || b->start_col > a->end_col) in rect_intersects()
H A Dvterm.c304 abs(rightward) >= rect.end_col - rect.start_col) { in vterm_scroll_rect()
316 dest.end_col = rect.end_col - rightward; in vterm_scroll_rect()
318 src.end_col = rect.end_col; in vterm_scroll_rect()
327 dest.end_col = rect.end_col; in vterm_scroll_rect()
329 src.end_col = rect.end_col - leftward; in vterm_scroll_rect()
355 rect.start_col = rect.end_col - rightward; in vterm_scroll_rect()
357 rect.end_col = rect.start_col - rightward; in vterm_scroll_rect()
387 init_col = dest.end_col - 1; in vterm_copy_cells()
393 test_col = dest.end_col; in vterm_copy_cells()
H A Dstate.c48 if(rect.end_col == state->cols) { in erase()
126 cols = rect.end_col - rect.start_col; in scroll()
170 rect.end_col = SCROLLREGION_RIGHT(state); in linefeed()
417 rect.end_col = THISROWWIDTH(state); in on_text()
1017 rect.end_col = THISROWWIDTH(state); in on_csi()
1113 if(rect.end_col > rect.start_col) in on_csi()
1129 if(rect.end_col > rect.start_col) in on_csi()
1166 if(rect.end_col > rect.start_col) in on_csi()
1213 rect.end_col = THISROWWIDTH(state); in on_csi()
1966 rect.end_col = state->cols; in vterm_state_reset()
[all …]
H A Dscreen.c130 if(screen->damaged.end_col < rect.end_col) in damagerect()
131 screen->damaged.end_col = rect.end_col; in damagerect()
164 rect.end_col = screen->cols; in damagescreen()
199 rect.end_col = pos.col+info->width; in putglyph()
234 int cols = src.end_col - src.start_col; in moverect_internal()
379 rect.end_col >= screen->damaged.end_col && in scrollrect()
672 rect.end_col = screen->cols; in setlineinfo()
996 if(extent->end_col < 0) in vterm_screen_get_attrs_extent()
997 extent->end_col = screen->cols; in vterm_screen_get_attrs_extent()
1004 for(col = pos.col + 1; col < extent->end_col; col++) in vterm_screen_get_attrs_extent()
[all …]
/vim-8.2.3635/src/libvterm/t/
H A Dharness.c257 rect.start_row, rect.end_row, rect.start_col, rect.end_col, in scrollrect()
270 src.start_row, src.end_row, src.start_col, src.end_col, in moverect()
271 dest.start_row, dest.end_row, dest.start_col, dest.end_col); in moverect()
339 rect.start_row, rect.end_row, rect.start_col, rect.end_col, in state_erase()
425 rect.start_row, rect.end_row, rect.start_col, rect.end_col); in screen_damage()
433 int eol = rect.end_col; in screen_damage()
894 …sscanf(linep, "%d,%d,%d,%d", &rect.start_row, &rect.start_col, &rect.end_row, &rect.end_col) < 4) { in main()
919 …sscanf(linep, "%d,%d,%d,%d", &rect.start_row, &rect.start_col, &rect.end_row, &rect.end_col) < 4) { in main()
1009 rect.end_col = -1; in main()
1014 printf("%d,%d-%d,%d\n", rect.start_row, rect.start_col, rect.end_row, rect.end_col); in main()
/vim-8.2.3635/src/
H A Dtextprop.c198 colnr_T end_col) in prop_add_one() argument
251 length = end_col - col; in prop_add_one()
324 colnr_T end_col; in f_prop_add_list() local
363 end_col = list_find_nr(pos_list, 3L, &error); in f_prop_add_list()
365 || end_lnum <= 0 || end_col <= 0) in f_prop_add_list()
371 start_col, end_col) == FAIL) in f_prop_add_list()
393 colnr_T end_col; in prop_add_common() local
426 end_col = start_col + length; in prop_add_common()
431 if (end_col <= 0) in prop_add_common()
438 end_col = start_col; in prop_add_common()
[all …]
H A Dclipboard.c995 int end_col; in clip_copy_modeless_selection() local
1063 end_col = col2; in clip_copy_modeless_selection()
1066 end_col = clip_star.max_col; in clip_copy_modeless_selection()
1068 end_col = Columns; in clip_copy_modeless_selection()
1074 if (end_col >= in clip_copy_modeless_selection()
1083 end_col = line_end_col; in clip_copy_modeless_selection()
1084 if (end_col < start_col) in clip_copy_modeless_selection()
1085 end_col = start_col; in clip_copy_modeless_selection()
1104 for (i = start_col; i < end_col; ++i) in clip_copy_modeless_selection()
1151 end_col - start_col); in clip_copy_modeless_selection()
[all …]
H A Dscreen.c2340 int end_col, in screen_fill() argument
2358 if (end_col > screen_Columns) // safety check in screen_fill()
2359 end_col = screen_Columns; in screen_fill()
2362 || start_col >= end_col) // nothing to do in screen_fill()
2385 if (end_col < screen_Columns && mb_fix_col(end_col, row) != end_col) in screen_fill()
2395 && end_col == Columns in screen_fill()
2410 end_off = LineOffset[row] + end_col; in screen_fill()
2428 col = end_col - col; in screen_fill()
2440 for (col = start_col; col < end_col; ++col) in screen_fill()
2504 if (end_col == Columns) in screen_fill()
[all …]
H A Dtextformat.c90 colnr_T end_col; in internal_format() local
146 end_col = curwin->w_cursor.col; in internal_format()
190 end_foundcol = end_col + 1; in internal_format()
H A Dregexp_nfa.c3996 colnr_T end_col; member
4079 sub->list.multi[j].end_col, in log_subexpr()
4206 to->list.multi[0].end_col = from->list.multi[0].end_col; in copy_ze_off()
4263 != sub2->list.multi[i].end_col) in sub_equal()
4913 sub->list.multi[subidx].end_col = 0; in addstate()
4918 sub->list.multi[subidx].end_col = in addstate()
5163 len = sub->list.multi[subidx].end_col in match_backref()
5178 sub->list.multi[subidx].end_col, in match_backref()
6223 bytelen = m->norm.list.multi[0].end_col in nfa_regmatch()
7313 && mpos->end_col >= mpos->start_col) in nfa_regtry()
[all …]
H A Dex_cmds.c389 colnr_T end_col; in ex_sort() local
515 end_col = len; in ex_sort()
521 end_col = (colnr_T)(regmatch.endp[0] - s); in ex_sort()
528 end_col = 0; in ex_sort()
538 s2 = s + end_col; in ex_sort()
588 nrs[lnum - eap->line1].st_u.line.end_col_nr = end_col; in ex_sort()
H A Dregexp.c1089 …_backref(linenr_T start_lnum, colnr_T start_col, linenr_T end_lnum, colnr_T end_col, int *bytelen);
1434 colnr_T end_col, in match_with_backref() argument
1468 len = end_col - ccol; in match_with_backref()
H A Dquickfix.c171 …module, int bufnum, char_u *mesg, long lnum, long end_lnum, int col, int end_col, int vis_col, cha…
908 int end_col; member
1246 fields->end_col = 0; in qf_parse_get_fields()
1643 fields->end_col, in qf_init_process_nextline()
2068 int end_col, // column for end in qf_add_entry() argument
2099 qfp->qf_end_col = end_col; in qf_add_entry()
7157 int bufnum, valid, status, col, end_col, vcol, nr; in qf_add_entry_from_dict() local
7169 end_col = (int)dict_get_number(d, (char_u *)"end_col"); in qf_add_entry_from_dict()
7208 end_col, in qf_add_entry_from_dict()
H A Dindent.c188 colnr_T end_col, in tabstop_fromto() argument
194 int spaces = end_col - start_col; in tabstop_fromto()
H A Dops.c3108 colnr_T end_col = (lnum == max_pos.lnum) in cursor_pos_info() local
3112 len = end_col; in cursor_pos_info()
H A Dterminal.c2991 && dest.end_col == src.end_col in handle_moverect()
5853 rect.end_col = term->tl_cols; in f_term_getline()
/vim-8.2.3635/src/testdir/
H A Dtest_textprop.vim845 call prop_add(1, 1, {'end_col': 3, 'type': 'comment'})
926 call prop_add(1, 3, {'end_col': 5, 'type': 'comment'})
1202 call prop_add(1, 2, #{type: 'TPTitle', end_col: 5})
1349 call prop_add(1, 1, {'end_col': 2, 'type': 'test'})
1352 call prop_add(1, 2, {'end_col': 3, 'type': 'test'})
1357 call prop_add(1, 6, {'end_col': 7, 'type': 'test'})
1381 call prop_add(1, 1, {'end_col': 2, 'type': 'test'})
1387 call prop_add(1, 1, {'end_col': 2, 'type': 'test'})
1400 call prop_add(1, 1, {'end_col': 2, 'type': 'test'})
1585 prop_add(1, 27, {end_lnum: 1, end_col: 70, type: 'someprop'})
[all …]
H A Dtest_quickfix.vim140 \ {'lnum':30,'col':15,'end_col':20,'text':'Line3'},
143 \ {'lnum':60,'end_lnum':65,'col':25,'end_col':35,'text':'Line6'}])
1550 \ {'bufnr': a:bnum, 'lnum': 2, 'end_lnum': 3, 'col': 4, 'end_col': 5}])
1556 call assert_equal(5, l[1].end_col)
2891 call assert_equal(11, l[0].end_col)
2893 call assert_equal(15, l[1].end_col)
5141 \ 'end_col': 7, 'text': 'green'},
5143 \ 'end_col': 8, 'text': 'blue'},
5393 … , 'end_lnum': 0 , 'bufnr': bufnr('Xfile1') , 'col': 0 , 'end_col': 0 , 'pattern…
5398 … , 'end_lnum': -123 , 'bufnr': bufnr('Xfile1') , 'col': 0 , 'end_col': -456 , 'pattern…
[all …]
H A Dtest_tagjump.vim851 \ 'col': 0, 'end_col': 0, 'pattern': '', 'valid': 1, 'vcol': 0,
857 \ 'col': 0, 'end_col': 0, 'pattern': '^\Vint second() {}\$',
H A Dtest_highlight.vim608 call prop_add(6, 12, {"type": "foo", "end_col": 15})
/vim-8.2.3635/runtime/doc/
H A Dtextprop.txt133 end_col column just after the text; not used when
134 "length" is present; when {col} and "end_col"
144 It is an error when both "length" and "end_lnum" or "end_col"
145 are given. Either use "length" or "end_col" for a property
146 within one line, or use "end_lnum" and "end_col" for a
148 When neither "length" nor "end_col" are given the property
H A Dpopup.txt801 end_col column just after the text; not used when "length" is
802 present; when {col} and "end_col" are equal, this is a
/vim-8.2.3635/src/libvterm/include/
H A Dvterm.h60 int end_col; member
70 p.col >= r.start_col && p.col < r.end_col; in vterm_rect_contains()
83 rect->start_col += col_delta; rect->end_col += col_delta; in vterm_rect_move()
/vim-8.2.3635/src/proto/
H A Dindent.pro6 void tabstop_fromto(colnr_T start_col, colnr_T end_col, int ts_arg, int *vts, int *ntabs, int *nspc…
H A Dscreen.pro28 void screen_fill(int start_row, int end_row, int start_col, int end_col, int c1, int c2, int attr);

12