Home
last modified time | relevance | path

Searched refs:w_leftcol (Results 1 – 19 of 19) sorted by relevance

/vim-8.2.3635/src/
H A Dmove.c498 wp->w_valid_leftcol = wp->w_leftcol; in check_cursor_moved()
501 || wp->w_leftcol != wp->w_valid_leftcol in check_cursor_moved()
506 wp->w_valid_leftcol = wp->w_leftcol; in check_cursor_moved()
880 if (col > (int)curwin->w_leftcol) in validate_cursor_col()
881 col -= curwin->w_leftcol; in validate_cursor_col()
1070 new_leftcol = curwin->w_leftcol - diff; in curs_columns()
1072 new_leftcol = curwin->w_leftcol + diff; in curs_columns()
1078 curwin->w_leftcol = new_leftcol; in curs_columns()
1083 curwin->w_wcol -= curwin->w_leftcol; in curs_columns()
1086 curwin->w_wcol -= curwin->w_leftcol; in curs_columns()
[all …]
H A Dnormal.c2089 || curwin->w_leftcol != old_leftcol)) in do_check_scrollbind()
2092 (long)(curwin->w_leftcol - old_leftcol)); in do_check_scrollbind()
2118 old_leftcol = curwin->w_leftcol; in do_check_scrollbind()
2135 colnr_T tgt_leftcol = curwin->w_leftcol; in check_scrollbind()
2195 curwin->w_leftcol = tgt_leftcol; in check_scrollbind()
2937 curwin->w_leftcol = 0; in nv_zet()
2972 if (curwin->w_leftcol != col) in nv_zet()
2974 curwin->w_leftcol = col; in nv_zet()
2994 if (curwin->w_leftcol != col) in nv_zet()
2996 curwin->w_leftcol = col; in nv_zet()
[all …]
H A Dmisc2.c652 lastcol = curwin->w_leftcol + curwin->w_width - curwin_col_off() - 1; in leftcol_changed()
664 else if (curwin->w_virtcol < curwin->w_leftcol + siso) in leftcol_changed()
667 (void)coladvance((colnr_T)(curwin->w_leftcol + siso)); in leftcol_changed()
681 else if (s < curwin->w_leftcol) in leftcol_changed()
686 curwin->w_leftcol = s; // adjust w_leftcol instead in leftcol_changed()
H A Dpopupwin.c1096 return wp->w_width + wp->w_leftcol in popup_width()
1138 int org_leftcol = wp->w_leftcol; in popup_adjust_position()
1149 wp->w_leftcol = 0; in popup_adjust_position()
1442 wp->w_leftcol = -leftoff - left_extra; in popup_adjust_position()
1443 wp->w_width -= wp->w_leftcol; in popup_adjust_position()
1561 || org_leftcol != wp->w_leftcol in popup_adjust_position()
4084 + wp->w_popup_padding[3] + wp->w_width + wp->w_leftcol, in update_popups()
H A Dgui.c3984 colnr_T old_leftcol = curwin->w_leftcol; in gui_drag_scrollbar()
4134 if (old_leftcol != curwin->w_leftcol) in gui_drag_scrollbar()
4152 && ((sb->wp == NULL && curwin->w_leftcol != old_leftcol) in gui_drag_scrollbar()
4653 value = curwin->w_leftcol; in gui_update_horiz_scrollbar()
4714 if (curwin->w_leftcol == (colnr_T)leftcol) in gui_do_horiz_scroll()
4717 curwin->w_leftcol = (colnr_T)leftcol; in gui_do_horiz_scroll()
H A Dsession.c486 if (!wp->w_p_wrap && wp->w_leftcol > 0 && wp->w_width > 0) in put_view()
491 (long)(wp->w_virtcol - wp->w_leftcol), in put_view()
H A Devalwindow.c1148 curwin->w_leftcol = (colnr_T)dict_get_number(dict, (char_u *)"leftcol"); in f_winrestview()
1189 dict_add_number(dict, "leftcol", (long)curwin->w_leftcol); in f_winsaveview()
H A Dmouse.c1120 val = curwin->w_leftcol + (dir == MSCR_RIGHT ? -step : step); in ins_mousescroll()
2073 val = curwin->w_leftcol + (cap->arg == MSCR_RIGHT ? -step : +step); in nv_mousescroll()
2935 col += win->w_leftcol; in mouse_comp_pos()
H A Ddrawline.c787 v = wp->w_leftcol; in win_line()
2583 wp->w_leftcol > 0) in win_line()
2722 v = wp->w_leftcol; in win_line()
H A Dinsexpand.c2448 int save_w_leftcol = curwin->w_leftcol; in set_completion()
4133 save_w_leftcol = curwin->w_leftcol; in ins_complete()
4268 if (prev_w_wrow != curwin->w_wrow || prev_w_leftcol != curwin->w_leftcol) in show_pum()
H A Ddrawscreen.c1345 txtcol -= wp->w_leftcol; in fold_line()
1361 txtcol -= wp->w_leftcol; in fold_line()
H A Dmatch.c860 if ((long)(wp->w_p_wrap ? wp->w_skipcol : wp->w_leftcol) > prevcol) in get_prevcol_hl_flag()
H A Dex_getln.c141 vs->vs_leftcol = curwin->w_leftcol; in save_viewstate()
154 curwin->w_leftcol = vs->vs_leftcol; in restore_viewstate()
H A Dsearch.c2827 if (curwin->w_p_wrap || (vcol >= curwin->w_leftcol in showmatch()
2828 && vcol < curwin->w_leftcol + curwin->w_width)) in showmatch()
H A Dstructs.h3471 colnr_T w_leftcol; // window column number of the left most member
H A Dwindow.c1379 newp->w_leftcol = oldp->w_leftcol; in win_init()
H A Doption.c3045 curwin->w_leftcol = 0; in set_bool_option()
/vim-8.2.3635/runtime/doc/
H A Dversion7.txt7537 Solution: Subtract w_skipcol or w_leftcol when needed.
H A Dversion8.txt35907 Solution: Only set the "fixed" option when it is in the dict. Set w_leftcol