Home
last modified time | relevance | path

Searched refs:scol (Results 1 – 13 of 13) sorted by relevance

/vim-8.2.3635/src/
H A Dbeval.c35 int scol; in find_word_under_cursor() local
75 scol = col; in find_word_under_cursor()
99 scol = col; in find_word_under_cursor()
106 &lbuf, &scol, flags); in find_word_under_cursor()
114 scol = col; in find_word_under_cursor()
124 *startcolp = scol; in find_word_under_cursor()
H A Dmap.c1407 int scol; // starting column of the abbr. in check_abbr() local
1455 scol = (int)(p - ptr); in check_abbr()
1467 for (scol = col - 1; scol > 0 && !vim_isspace(ptr[scol - 1]) in check_abbr()
1468 && (vim_abbr || is_id == vim_iswordc(ptr[scol - 1])); --scol) in check_abbr()
1472 if (scol < mincol) in check_abbr()
1473 scol = mincol; in check_abbr()
1474 if (scol < col) // there is a word in front of the cursor in check_abbr()
1476 ptr += scol; in check_abbr()
1477 len = col - scol; in check_abbr()
H A Dmove.c1232 colnr_T scol = 0, ccol = 0, ecol = 0; in textpos2screenpos() local
1244 getvcol(wp, pos, &scol, &ccol, &ecol); in textpos2screenpos()
1247 col = scol; in textpos2screenpos()
1265 coloff = col - scol + wp->w_wincol + 1; in textpos2screenpos()
1268 row = rowoff = scol = ccol = ecol = 0; in textpos2screenpos()
1271 *scolp = scol + coloff; in textpos2screenpos()
1288 int scol = 0, ccol = 0, ecol = 0; in f_screenpos() local
1307 textpos2screenpos(wp, &pos, &row, &scol, &ccol, &ecol); in f_screenpos()
1310 dict_add_number(dict, "col", scol); in f_screenpos()
H A Dscreen.c2544 int scol; in clear_TabPageIdxs() local
2546 for (scol = 0; scol < Columns; ++scol) in clear_TabPageIdxs()
2547 TabPageIdxs[scol] = 0; in clear_TabPageIdxs()
4387 int scol = 0; in draw_tabline() local
4457 scol = col; in draw_tabline()
4506 room = scol - col + tabwidth - 1; in draw_tabline()
4536 while (scol < col) in draw_tabline()
4537 TabPageIdxs[scol++] = tabcount; in draw_tabline()
H A Dgui.c2526 int scol = col; // screen column in gui_outstr_nowrap() local
2587 gui_mch_draw_string(gui.row, scol, s + start, thislen, in gui_outstr_nowrap()
2593 scol += cells; in gui_outstr_nowrap()
2599 scol -= cn; in gui_outstr_nowrap()
2611 gui_mch_draw_string(gui.row, scol - 1, (char_u *)" ", in gui_outstr_nowrap()
2620 gui_mch_draw_string(gui.row, scol, s + i, cl, in gui_outstr_nowrap()
2623 gui_mch_draw_string(gui.row, scol - cn, s + i, cl, in gui_outstr_nowrap()
2631 len = scol - col; in gui_outstr_nowrap()
H A Dregexp.c2491 colnr_T scol; in reg_submatch_list() local
2507 scol = rsm.sm_mmatch->startpos[no].col; in reg_submatch_list()
2514 s = reg_getline_submatch(slnum) + scol; in reg_submatch_list()
2517 if (list_append_string(list, s, ecol - scol) == FAIL) in reg_submatch_list()
H A Dmisc2.c291 colnr_T scol, ecol; in coladvance2() local
293 getvcol(curwin, pos, &scol, NULL, &ecol); in coladvance2()
294 pos->coladd = ecol - scol; in coladvance2()
H A Dops.c1839 colnr_T scol, ecol; in adjust_cursor_eol() local
1842 getvcol(curwin, &curwin->w_cursor, &scol, NULL, &ecol); in adjust_cursor_eol()
1843 curwin->w_cursor.coladd = ecol - scol + 1; in adjust_cursor_eol()
H A Dnormal.c4465 colnr_T scol, ecol; in nv_csearch() local
4467 getvcol(curwin, &curwin->w_cursor, &scol, NULL, &ecol); in nv_csearch()
4468 curwin->w_cursor.coladd = ecol - scol; in nv_csearch()
/vim-8.2.3635/src/testdir/
H A Dtest_listlbr_utf8.vim26 let scol = strdisplaywidth(strcharpart(line, 0, i-1)) + 1
27 let attr += [screenattr(a:lnum, scol + prefix)]
/vim-8.2.3635/runtime/syntax/
H A Dsicad.vim315 syn keyword sicadStatement savd savesim savx scol scopy
H A Dfoxpro.vim273 syn match foxproFunc "\<scol\%[s]\>\s*("me=e-1
/vim-8.2.3635/runtime/doc/
H A Dversion8.txt44267 Solution: Assign a value to "scol". Move code inside NULL check.