Lines Matching refs:vb_mark_end
146 vtbuf_in_this_range(cur, vb->vb_mark_end.tp_row, cur + offset, sz)) { in vthistory_addlines()
148 vb->vb_mark_start.tp_row = vb->vb_mark_end.tp_row; in vthistory_addlines()
149 vb->vb_mark_start.tp_col = vb->vb_mark_end.tp_col; in vthistory_addlines()
221 if (vb->vb_mark_start.tp_col == vb->vb_mark_end.tp_col && in vtbuf_iscursor()
222 vb->vb_mark_start.tp_row == vb->vb_mark_end.tp_row) in vtbuf_iscursor()
227 ec = vb->vb_mark_end.tp_col; in vtbuf_iscursor()
228 er = vb->vb_mark_end.tp_row; in vtbuf_iscursor()
440 vb->vb_mark_end.tp_row = 0; in vtbuf_reset_scrollback()
441 vb->vb_mark_end.tp_col = 0; in vtbuf_reset_scrollback()
704 if ((vb->vb_mark_start.tp_col != vb->vb_mark_end.tp_col) || in vtbuf_flush_mark()
705 (vb->vb_mark_start.tp_row != vb->vb_mark_end.tp_row)) { in vtbuf_flush_mark()
707 e = vtbuf_htw(vb, vb->vb_mark_end.tp_row); in vtbuf_flush_mark()
730 POS_INDEX(vtbuf_htw(vb, vb->vb_mark_end.tp_row), in vtbuf_get_marked_len()
731 vb->vb_mark_end.tp_col)) { in vtbuf_get_marked_len()
733 POS_COPY(s, vb->vb_mark_end); in vtbuf_get_marked_len()
736 POS_COPY(e, vb->vb_mark_end); in vtbuf_get_marked_len()
780 POS_INDEX(vtbuf_htw(vb, vb->vb_mark_end.tp_row), in vtbuf_extract_marked()
781 vb->vb_mark_end.tp_col)) { in vtbuf_extract_marked()
783 POS_COPY(s, vb->vb_mark_end); in vtbuf_extract_marked()
786 POS_COPY(e, vb->vb_mark_end); in vtbuf_extract_marked()
831 vb->vb_mark_end.tp_col = col; in vtbuf_set_mark()
832 vb->vb_mark_end.tp_row = vtbuf_wth(vb, row); in vtbuf_set_mark()
839 vb->vb_mark_end.tp_col = col; in vtbuf_set_mark()
840 vb->vb_mark_end.tp_row = vtbuf_wth(vb, row); in vtbuf_set_mark()
844 vb->vb_mark_start.tp_row = vb->vb_mark_end.tp_row = in vtbuf_set_mark()
858 vb->vb_mark_end.tp_col = i; in vtbuf_set_mark()
864 vb->vb_mark_end.tp_col = i; in vtbuf_set_mark()
866 if (vb->vb_mark_start.tp_col > vb->vb_mark_end.tp_col) in vtbuf_set_mark()
867 vb->vb_mark_start.tp_col = vb->vb_mark_end.tp_col; in vtbuf_set_mark()
872 vb->vb_mark_end.tp_col = vb->vb_scr_size.tp_col; in vtbuf_set_mark()
873 vb->vb_mark_start.tp_row = vb->vb_mark_end.tp_row = in vtbuf_set_mark()